Class: FeduxOrgStdlib::Command::CommandResult

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

Overview

Result of command execution

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCommandResult

Returns a new instance of CommandResult.



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

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

Instance Attribute Details

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

#stderrObject

Returns the value of attribute stderr.



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

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout.



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

def stdout
  @stdout
end