Class: Chamomile::ShellResult

Inherits:
Data
  • Object
show all
Defined in:
lib/chamomile/commands.rb

Overview

Typed envelope for shell command results

Instance Attribute Summary collapse

Instance Attribute Details

#envelopeObject (readonly)

Returns the value of attribute envelope

Returns:

  • (Object)

    the current value of envelope



34
35
36
# File 'lib/chamomile/commands.rb', line 34

def envelope
  @envelope
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



34
35
36
# File 'lib/chamomile/commands.rb', line 34

def status
  @status
end

#stderrObject (readonly)

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



34
35
36
# File 'lib/chamomile/commands.rb', line 34

def stderr
  @stderr
end

#stdoutObject (readonly)

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



34
35
36
# File 'lib/chamomile/commands.rb', line 34

def stdout
  @stdout
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



34
35
36
# File 'lib/chamomile/commands.rb', line 34

def success
  @success
end