Module: SimpleSwitch
- Defined in:
- lib/simple_switch.rb,
lib/simple_switch/engine.rb,
lib/simple_switch/railtie.rb,
lib/simple_switch/version.rb,
app/models/simple_switch/state.rb,
app/models/simple_switch/feature.rb,
lib/simple_switch/shared_methods.rb,
lib/simple_switch/feature_manager.rb,
app/models/simple_switch/environment.rb,
lib/simple_switch/active_record/base.rb,
lib/simple_switch/feature_manager_db.rb,
lib/simple_switch/feature_manager_yaml.rb,
lib/simple_switch/action_controller/base.rb,
lib/simple_switch/manager_shared_methods.rb,
lib/simple_switch/shared_controller_methods.rb,
app/helpers/simple_switch/application_helper.rb,
lib/generators/simple_switch/install_generator.rb,
lib/generators/simple_switch/initialize_generator.rb,
app/controllers/simple_switch/application_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, Generators, ManagerSharedMethods, SharedControllerMethods, SharedMethods
Classes: ApplicationController, Engine, Environment, Feature, FeatureManager, FeatureManagerDb, FeatureManagerYaml, Railtie, State
Constant Summary
collapse
- VERSION =
'0.3.0'
- @@feature_store =
:database
- @@feature_config_file_name =
'feature_config.yml'
Class Method Summary
collapse
Class Method Details
.feature_manager ⇒ Object
.setup {|_self| ... } ⇒ Object
13
14
15
|
# File 'lib/simple_switch.rb', line 13
def self.setup
yield self
end
|