Class: HotCell::Operation::ToolResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errObject

Returns the value of attribute err

Returns:

  • (Object)

    the current value of err



129
130
131
# File 'lib/hot_cell/operation.rb', line 129

def err
  @err
end

#outObject

Returns the value of attribute out

Returns:

  • (Object)

    the current value of out



129
130
131
# File 'lib/hot_cell/operation.rb', line 129

def out
  @out
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



129
130
131
# File 'lib/hot_cell/operation.rb', line 129

def status
  @status
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


130
131
132
# File 'lib/hot_cell/operation.rb', line 130

def ok?
  status.success?
end