Exception: Clamp::RuntimeError
- Inherits:
-
StandardError
- Object
- StandardError
- Clamp::RuntimeError
- Defined in:
- lib/clamp/errors.rb
Overview
abstract command runtime error
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.
12 13 14 15 |
# File 'lib/clamp/errors.rb', line 12 def initialize(, command) super() @command = command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
17 18 19 |
# File 'lib/clamp/errors.rb', line 17 def command @command end |