Module: FeatureToggle::FeaturesHelper

Defined in:
app/helpers/feature_toggle/features_helper.rb

Instance Method Summary collapse

Instance Method Details

#feature?(name) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'app/helpers/feature_toggle/features_helper.rb', line 3

def feature?(name)
  FeatureToggle.on?(name, self)
end