Class: RubyFlipper::Dsl

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_flipper/dsl.rb

Instance Method Summary collapse

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