Module: FeatureGate
- Defined in:
- lib/feature_gate.rb,
lib/feature_gate/engine.rb,
lib/feature_gate/version.rb,
app/models/feature_gate/manager.rb,
app/models/feature_gate/gated_feature.rb,
app/controllers/feature_gate/gated_features_controller.rb
Defined Under Namespace
Classes: Configuration, Engine, GatedFeature, GatedFeaturesController, Manager
Constant Summary collapse
- VERSION =
'0.2.6'.freeze
Class Attribute Summary collapse
-
.configuration ⇒ Object
readonly
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
3 4 5 |
# File 'lib/feature_gate.rb', line 3 def configuration @configuration end |
Class Method Details
.setup {|configuration| ... } ⇒ Object
10 11 12 |
# File 'lib/feature_gate.rb', line 10 def self.setup yield(configuration) end |