Class: CommandOutput

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(out, error, status) ⇒ CommandOutput

Returns a new instance of CommandOutput.



45
46
47
48
49
# File 'lib/sumodev/command.rb', line 45

def initialize(out, error, status)
  @out = out
  @error = error
  @status = status
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



43
44
45
# File 'lib/sumodev/command.rb', line 43

def error
  @error
end

#outObject (readonly)

Returns the value of attribute out.



43
44
45
# File 'lib/sumodev/command.rb', line 43

def out
  @out
end

#statusObject (readonly)

Returns the value of attribute status.



43
44
45
# File 'lib/sumodev/command.rb', line 43

def status
  @status
end