Class: Haiti::CommandLineHelpers::Invocation

Inherits:
Struct
  • Object
show all
Defined in:
lib/haiti/command_line_helpers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



8
9
10
# File 'lib/haiti/command_line_helpers.rb', line 8

def status
  @status
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



8
9
10
# File 'lib/haiti/command_line_helpers.rb', line 8

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



8
9
10
# File 'lib/haiti/command_line_helpers.rb', line 8

def stdout
  @stdout
end

Instance Method Details

#exitstatusObject



9
10
11
# File 'lib/haiti/command_line_helpers.rb', line 9

def exitstatus
  status.exitstatus
end