Class: RubyFlipper::Dsl
- Inherits:
-
Object
- Object
- RubyFlipper::Dsl
- Defined in:
- lib/ruby_flipper/dsl.rb
Instance Method Summary collapse
- #feature(name, *conditions, &block) ⇒ Object (also: #condition)
Instance Method Details
#feature(name, *conditions, &block) ⇒ Object Also known as: condition
5 6 7 |
# File 'lib/ruby_flipper/dsl.rb', line 5 def feature(name, *conditions, &block) Feature.add(name, *conditions, &block) end |