Class: Toft::CommandResult

Inherits:
Object
  • Object
show all
Defined in:
lib/toft/node.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stdout, stderr) ⇒ CommandResult

Returns a new instance of CommandResult.



228
229
230
231
# File 'lib/toft/node.rb', line 228

def initialize(stdout, stderr)
  @stdout = stdout
  @stderr = stderr
end

Instance Attribute Details

#stderrObject (readonly)

Returns the value of attribute stderr.



226
227
228
# File 'lib/toft/node.rb', line 226

def stderr
  @stderr
end

#stdoutObject (readonly)

Returns the value of attribute stdout.



226
227
228
# File 'lib/toft/node.rb', line 226

def stdout
  @stdout
end