Exception: ShellCommandFailure
- Inherits:
-
StandardError
- Object
- StandardError
- ShellCommandFailure
- Defined in:
- lib/shell_commands/shell_command_failure.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ ShellCommandFailure
constructor
A new instance of ShellCommandFailure.
Constructor Details
#initialize(result) ⇒ ShellCommandFailure
Returns a new instance of ShellCommandFailure.
3 4 5 |
# File 'lib/shell_commands/shell_command_failure.rb', line 3 def initialize(result) @result = result end |
Instance Attribute Details
#result ⇒ Object
Returns the value of attribute result.
2 3 4 |
# File 'lib/shell_commands/shell_command_failure.rb', line 2 def result @result end |