Exception: Errors::LoadCommandError

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(command, message = nil) ⇒ LoadCommandError

Returns a new instance of LoadCommandError.



7
8
9
10
# File 'lib/advanced_ruby_command_handler/errors.rb', line 7

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

Instance Attribute Details

#commandObject (readonly)

Returns the value of attribute command.



5
6
7
# File 'lib/advanced_ruby_command_handler/errors.rb', line 5

def command
  @command
end