Class: Hamal::RemoteExecutor::ExecResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#exit_codeObject

Returns the value of attribute exit_code

Returns:

  • (Object)

    the current value of exit_code



39
40
41
# File 'lib/hamal.rb', line 39

def exit_code
  @exit_code
end

#outputObject

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



39
40
41
# File 'lib/hamal.rb', line 39

def output
  @output
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


40
# File 'lib/hamal.rb', line 40

def success? = exit_code.zero?