Class: BobTheHelper::Command::CommandResult

Inherits:
Object
  • Object
show all
Defined in:
lib/bob_the_helper/command/command_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCommandResult

Returns a new instance of CommandResult.



6
7
8
9
# File 'lib/bob_the_helper/command/command_result.rb', line 6

def initialize
  @stderr = ''
  @stdout = ''
end

Instance Attribute Details

#statusObject

Returns the value of attribute status.



4
5
6
# File 'lib/bob_the_helper/command/command_result.rb', line 4

def status
  @status
end

#stderrObject

Returns the value of attribute stderr.



4
5
6
# File 'lib/bob_the_helper/command/command_result.rb', line 4

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout.



4
5
6
# File 'lib/bob_the_helper/command/command_result.rb', line 4

def stdout
  @stdout
end