class Pennant::MemoryAdapter

Defined in:

pennant.cr

Constructors

Instance Method Summary

Instance methods inherited from class Pennant::Adapter

disable(feature : String) : Nil
disable(feature : String, *, for actor : Actor) : Nil
disable
, enable(feature : String) : Nil
enable(feature : String, *, for actor : Actor) : Nil
enable(feature : String, *, percentage_of_time : Float64) : Nil
enable
, enabled?(feature : String) : Bool
enabled?(feature : String, *, for actor : Actor) : Bool
enabled?
, features : Enumerable(Feature) features

Constructor Detail

def self.new(features : Hash(String, Bool) = {} of String => Bool) #

[View source]

Instance Method Detail

def disable(feature : String) : Nil #

[View source]
def disable(feature : String, *, for actor : Actor) : Nil #

[View source]
def enable(feature : String) : Nil #

[View source]
def enable(feature : String, *, for actor : Actor) : Nil #

[View source]
def enable(feature : String, *, percentage_of_time : Float64) : Nil #

[View source]
def enabled?(feature : String) : Bool #

[View source]
def enabled?(feature : String, *, for actor : Actor) : Bool #

[View source]
def features : Enumerable(Feature) #

[View source]