Module: FlipHelper
- Defined in:
- app/helpers/flip_helper.rb
Overview
Access to feature-flipping configuration.
Instance Method Summary collapse
-
#feature?(key) ⇒ Boolean
Whether the given feature is switched on.
Instance Method Details
#feature?(key) ⇒ Boolean
Whether the given feature is switched on
5 6 7 |
# File 'app/helpers/flip_helper.rb', line 5 def feature?(key) Flip.on? key end |