Exception: Flip::Forbidden
- Inherits:
-
StandardError
- Object
- StandardError
- Flip::Forbidden
- Defined in:
- lib/flip/forbidden.rb
Instance Method Summary collapse
-
#initialize(key) ⇒ Forbidden
constructor
A new instance of Forbidden.
Constructor Details
#initialize(key) ⇒ Forbidden
Returns a new instance of Forbidden.
3 4 5 |
# File 'lib/flip/forbidden.rb', line 3 def initialize(key) super("requires :#{key} feature") end |