Exception: GitRunner::Command::Failure
- Inherits:
-
StandardError
- Object
- StandardError
- GitRunner::Command::Failure
- Defined in:
- lib/git-runner/command.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ Failure
constructor
A new instance of Failure.
Constructor Details
#initialize(result) ⇒ Failure
99 100 101 102 |
# File 'lib/git-runner/command.rb', line 99 def initialize(result) super(result.command) self.result = result end |
Instance Attribute Details
#result ⇒ Object
Returns the value of attribute result.
96 97 98 |
# File 'lib/git-runner/command.rb', line 96 def result @result end |