class FeatureToggles::Proxy

Attributes

args[R]
kwargs[R]
toggle[R]

Public Class Methods

new(toggle, *args, **kwargs) click to toggle source
# File lib/feature_toggles/proxy.rb, line 5
def initialize(toggle, *args, **kwargs)
  @toggle = toggle
  @args = args
  @kwargs = kwargs
end

Public Instance Methods

enabled?(feature) click to toggle source
# File lib/feature_toggles/proxy.rb, line 11
def enabled?(feature)
  toggle.enabled?(feature, *args, **kwargs)
end
to_a() click to toggle source
# File lib/feature_toggles/proxy.rb, line 15
def to_a
  toggle.to_a(*args, **kwargs)
end
to_h() click to toggle source
# File lib/feature_toggles/proxy.rb, line 19
def to_h
  toggle.to_h(*args, **kwargs)
end