Exception: Flip::Forbidden

Inherits:
StandardError
  • Object
show all
Defined in:
lib/flip/forbidden.rb

Instance Method Summary collapse

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