Class: Kicker::Status

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



4
5
6
# File 'lib/kicker/utils.rb', line 4

def command
  @command
end

#exit_codeObject

Returns the value of attribute exit_code

Returns:

  • (Object)

    the current value of exit_code



4
5
6
# File 'lib/kicker/utils.rb', line 4

def exit_code
  @exit_code
end

#outputObject

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



4
5
6
# File 'lib/kicker/utils.rb', line 4

def output
  @output
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/kicker/utils.rb', line 5

def success?
  exit_code == 0
end