Exception: Clamp::RuntimeError
- Inherits:
-
StandardError
- Object
- StandardError
- Clamp::RuntimeError
- 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) ⇒ RuntimeError
constructor
A new instance of RuntimeError.
Constructor Details
#initialize(message, command) ⇒ RuntimeError
Returns a new instance of RuntimeError.
8 9 10 11 |
# File 'lib/clamp/errors.rb', line 8 def initialize(, command) super() @command = command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
13 14 15 |
# File 'lib/clamp/errors.rb', line 13 def command @command end |