Exception: Clamp::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Clamp::Error
- Defined in:
- lib/clamp/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
Instance Method Summary collapse
-
#initialize(message, command) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, command) ⇒ Error
Returns a new instance of Error.
5 6 7 8 |
# File 'lib/clamp/errors.rb', line 5 def initialize(, command) super() @command = command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
10 11 12 |
# File 'lib/clamp/errors.rb', line 10 def command @command end |