Exception: Errors::LoadCommandError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Errors::LoadCommandError
- Defined in:
- lib/advanced_ruby_command_handler/errors.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
Instance Method Summary collapse
-
#initialize(command, message = nil) ⇒ LoadCommandError
constructor
A new instance of LoadCommandError.
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, = nil) super() @command = command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
5 6 7 |
# File 'lib/advanced_ruby_command_handler/errors.rb', line 5 def command @command end |