Exception: CmdError
- Inherits:
-
StandardError
- Object
- StandardError
- CmdError
- Defined in:
- lib/errors.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
Instance Method Summary collapse
-
#initialize(command) ⇒ CmdError
constructor
A new instance of CmdError.
Constructor Details
#initialize(command) ⇒ CmdError
Returns a new instance of CmdError.
7 8 9 |
# File 'lib/errors.rb', line 7 def initialize(command) @command = command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
5 6 7 |
# File 'lib/errors.rb', line 5 def command @command end |