Sha256: 48df2b7ac5ca083a3f6abc3b605e7ddc96a41e5cfcc43296cf8b4c9565c5369b

Contents?: true

Size: 207 Bytes

Versions: 3

Compression:

Stored size: 207 Bytes

Contents

module SimpleSwitch
  module SharedMethods

    def feature_on?(feature)
      SimpleSwitch.feature_manager.on?(feature)
    end

    def feature_off?(feature)
      !feature_on?(feature)
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simple_switch-0.3.0 lib/simple_switch/shared_methods.rb
simple_switch-0.2.0 lib/simple_switch/shared_methods.rb
simple_switch-0.1.0 lib/simple_switch/shared_methods.rb