module SimpleSwitch::SharedMethods

Public Instance Methods

feature_off?(feature) click to toggle source
# File lib/simple_switch/shared_methods.rb, line 8
def feature_off?(feature)
  !feature_on?(feature)
end
feature_on?(feature) click to toggle source
# File lib/simple_switch/shared_methods.rb, line 4
def feature_on?(feature)
  SimpleSwitch.feature_manager.on?(feature)
end