Sha256: ef0357b33497a80e8130ef8c219d27cd672a82fac5fa1921ae363ef005e020de

Contents?: true

Size: 593 Bytes

Versions: 2

Compression:

Stored size: 593 Bytes

Contents

require 'simple_switch/version'

module SimpleSwitch
  mattr_accessor :feature_config_file_dir
  @@feature_config_file_name = 'config'

  mattr_accessor :feature_config_file_name
  @@feature_config_file_name = 'feature_config.yml'

  def self.setup
    yield self
  end

  def self.feature_manager
    SimpleSwitch::Switch.instance
  end

  class Engine < ::Rails::Engine
  end
end

require 'simple_switch/switch'
require 'simple_switch/shared_methods'
require 'simple_switch/shared_controller_methods'
require 'simple_switch/action_controller/base'
require 'simple_switch/active_record/base'

Version data entries

2 entries across 2 versions & 1 rubygems

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