class FeatureFlipper::FeatureMapper
Public Class Methods
new(state)
click to toggle source
# File lib/feature_flipper/config.rb, line 75 def initialize(state) @state = state end
Public Instance Methods
feature(name, options = {})
click to toggle source
# File lib/feature_flipper/config.rb, line 79 def feature(name, options = {}) FeatureFlipper::Config.features[name] = options.merge(:state => @state) end