Class: StubShell::Result
- Inherits:
-
Object
- Object
- StubShell::Result
- Defined in:
- lib/stub_shell/result.rb
Instance Attribute Summary collapse
-
#exitstatus ⇒ Object
Returns the value of attribute exitstatus.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize ⇒ Result
Returns a new instance of Result.
5 6 7 |
# File 'lib/stub_shell/result.rb', line 5 def initialize @exitstatus = 0 end |
Instance Attribute Details
#exitstatus ⇒ Object
Returns the value of attribute exitstatus.
3 4 5 |
# File 'lib/stub_shell/result.rb', line 3 def exitstatus @exitstatus end |
#stderr ⇒ Object
Returns the value of attribute stderr.
3 4 5 |
# File 'lib/stub_shell/result.rb', line 3 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout.
3 4 5 |
# File 'lib/stub_shell/result.rb', line 3 def stdout @stdout end |