Class: OpenSandbox::Runner::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/open_sandbox/runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#elapsedObject (readonly)

Returns the value of attribute elapsed

Returns:

  • (Object)

    the current value of elapsed



31
32
33
# File 'lib/open_sandbox/runner.rb', line 31

def elapsed
  @elapsed
end

#outputObject (readonly)

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



31
32
33
# File 'lib/open_sandbox/runner.rb', line 31

def output
  @output
end

#sandbox_idObject (readonly)

Returns the value of attribute sandbox_id

Returns:

  • (Object)

    the current value of sandbox_id



31
32
33
# File 'lib/open_sandbox/runner.rb', line 31

def sandbox_id
  @sandbox_id
end

#successObject (readonly) Also known as: success?

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



31
32
33
# File 'lib/open_sandbox/runner.rb', line 31

def success
  @success
end

Instance Method Details

#failure?Boolean

Returns:

  • (Boolean)


33
# File 'lib/open_sandbox/runner.rb', line 33

def failure? = !success