Class: Devup::Shell::Result

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

Overview

TODO maybe it should become somthing like ExecutedShellCommand ?

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



13
14
15
# File 'lib/devup/shell.rb', line 13

def data
  @data
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



13
14
15
# File 'lib/devup/shell.rb', line 13

def status
  @status
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/devup/shell.rb', line 14

def success?
  status
end