Class: FeatureFlipper::FeaturesMapper

Inherits:
Object
  • Object
show all
Defined in:
lib/feature_flipper/config.rb

Instance Method Summary collapse

Instance Method Details

#in_state(state, &block) ⇒ Object



85
86
87
# File 'lib/feature_flipper/config.rb', line 85

def in_state(state, &block)
  FeatureMapper.new(state).instance_eval(&block)
end