Method: Flip::FeatureSet#initialize

Defined in:
lib/flip/feature_set.rb

#initializeFeatureSet



16
17
18
19
20
# File 'lib/flip/feature_set.rb', line 16

def initialize
  @definitions = Hash.new { |_, k| raise "No feature declared with key #{k.inspect}" }
  @strategies = Hash.new { |_, k| raise "No strategy named #{k}" }
  @default = false
end