Class: Rollout

Inherits:
Object
  • Object
show all
Defined in:
lib/rollout_ui/monkey_patch.rb

Instance Method Summary collapse

Instance Method Details

#active?(feature, user) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
7
# File 'lib/rollout_ui/monkey_patch.rb', line 4

def active?(feature, user)
  RolloutUi::Wrapper.new(self).add_feature(feature)
  original_active?(feature, user)
end

#original_active?Object



2
# File 'lib/rollout_ui/monkey_patch.rb', line 2

alias_method :original_active?, :active?