Exception: Errors::NonExistingModule

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/advanced_ruby_command_handler/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(module_name, message = nil) ⇒ NonExistingModule

Returns a new instance of NonExistingModule.



43
44
45
46
# File 'lib/advanced_ruby_command_handler/errors.rb', line 43

def initialize(module_name, message = nil)
  super(message)
  @module_name = module_name
end

Instance Attribute Details

#module_nameObject (readonly)

Returns the value of attribute module_name.



41
42
43
# File 'lib/advanced_ruby_command_handler/errors.rb', line 41

def module_name
  @module_name
end