Exception: Command::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Command::Error
- Defined in:
- lib/prick/command.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(message, status, stdout, stderr) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, status, stdout, stderr) ⇒ Error
Returns a new instance of Error.
9 10 11 12 13 14 |
# File 'lib/prick/command.rb', line 9 def initialize(, status, stdout, stderr) super() @status = status @stdout = stdout @stderr = stderr end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
5 6 7 |
# File 'lib/prick/command.rb', line 5 def status @status end |
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr.
7 8 9 |
# File 'lib/prick/command.rb', line 7 def stderr @stderr end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
6 7 8 |
# File 'lib/prick/command.rb', line 6 def stdout @stdout end |