Class: RubyFlipper::ConditionContext

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

Instance Method Summary collapse

Instance Method Details

#active?(*conditions) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/ruby_flipper/condition_context.rb', line 5

def active?(*conditions)
  Feature.new(nil, *conditions).active?
end