Exception: Module::Cluster::Exception::ModuleNotInStack
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Module::Cluster::Exception::ModuleNotInStack
- Defined in:
- lib/module/cluster/exception/module_not_in_stack.rb
Overview
Exception raised when a module is provided for a before/after insert but module is not present in stack
as specified.
Instance Method Summary collapse
-
#initialize(hook_controller, module_instance) ⇒ ModuleNotInStack
constructor
A new instance of ModuleNotInStack.
Constructor Details
#initialize(hook_controller, module_instance) ⇒ ModuleNotInStack
Returns a new instance of ModuleNotInStack.
18 19 20 21 22 23 24 |
# File 'lib/module/cluster/exception/module_not_in_stack.rb', line 18 def initialize( hook_controller, module_instance ) = 'Module ' + module_instance.to_s + ' not found in stack ' + hook_controller.name.to_s + '.' super( ) end |