Class: FeatureToggle::Syntax::State
- Inherits:
-
Object
- Object
- FeatureToggle::Syntax::State
- Includes:
- Shared
- Defined in:
- lib/feature_toggle/syntax/state.rb
Instance Method Summary collapse
Methods included from Shared
Instance Method Details
#value(&block) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/feature_toggle/syntax/state.rb', line 8 def value(&block) if block_given? @value = block else @value end end |