module Flipflop::Facade
Public Instance Methods
feature_set()
click to toggle source
# File lib/flipflop/facade.rb, line 9 def feature_set FeatureSet.current end
method_missing(method, *args)
click to toggle source
Calls superclass method
# File lib/flipflop/facade.rb, line 17 def method_missing(method, *args) if method[-1] == "?" FeatureSet.current.enabled?(method[0..-2].to_sym) else super end end
respond_to_missing?(method, include_private = false)
click to toggle source
# File lib/flipflop/facade.rb, line 13 def respond_to_missing?(method, include_private = false) method[-1] == "?" end