Class: StubShell::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/stub_shell/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeResult

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

#exitstatusObject

Returns the value of attribute exitstatus.



3
4
5
# File 'lib/stub_shell/result.rb', line 3

def exitstatus
  @exitstatus
end

#stderrObject

Returns the value of attribute stderr.



3
4
5
# File 'lib/stub_shell/result.rb', line 3

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout.



3
4
5
# File 'lib/stub_shell/result.rb', line 3

def stdout
  @stdout
end