Class: FeduxOrgStdlib::Command::CommandResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCommandResult

Returns a new instance of CommandResult.



7
8
9
10
# File 'lib/fedux_org_stdlib/command/command_result.rb', line 7

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

Instance Attribute Details

#statusObject

Returns the value of attribute status.



5
6
7
# File 'lib/fedux_org_stdlib/command/command_result.rb', line 5

def status
  @status
end

#stderrObject

Returns the value of attribute stderr.



5
6
7
# File 'lib/fedux_org_stdlib/command/command_result.rb', line 5

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout.



5
6
7
# File 'lib/fedux_org_stdlib/command/command_result.rb', line 5

def stdout
  @stdout
end