Class: CiInACan::BashResult

Inherits:
Object
  • Object
show all
Defined in:
lib/ci_in_a_can/bash_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#exit_codeObject

Returns the value of attribute exit_code.



7
8
9
# File 'lib/ci_in_a_can/bash_result.rb', line 7

def exit_code
  @exit_code
end

#outputObject

Returns the value of attribute output.



7
8
9
# File 'lib/ci_in_a_can/bash_result.rb', line 7

def output
  @output
end

Instance Method Details

#successfulObject



9
10
11
# File 'lib/ci_in_a_can/bash_result.rb', line 9

def successful
  exit_code == 0
end