Sha256: ddbaa4a77758cff5eaaa7401b0f37aa14c7b5a0b8f75bad31e083a14c0ab46c5

Contents?: true

Size: 187 Bytes

Versions: 4

Compression:

Stored size: 187 Bytes

Contents

class Rollout
  alias_method :original_active?, :active?

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
rollout_ui-0.2.1 lib/rollout_ui/monkey_patch.rb
rollout_ui-0.2.0 lib/rollout_ui/monkey_patch.rb
bitlove-rollout_ui-0.1.0 lib/rollout_ui/monkey_patch.rb
rollout_ui-0.1.0 lib/rollout_ui/monkey_patch.rb