Exception: Scallop::Errors::CommandFailed
- Inherits:
-
StandardError
- Object
- StandardError
- Scallop::Errors::CommandFailed
- Defined in:
- lib/scallop.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(message, result) ⇒ CommandFailed
constructor
A new instance of CommandFailed.
Constructor Details
#initialize(message, result) ⇒ CommandFailed
Returns a new instance of CommandFailed.
11 12 13 14 |
# File 'lib/scallop.rb', line 11 def initialize(, result) @result = result super() end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
9 10 11 |
# File 'lib/scallop.rb', line 9 def result @result end |