Class: OpenSandbox::Execd::CodeInterpreter::CodeResult

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

Instance Attribute Summary collapse

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



8
9
10
# File 'lib/open_sandbox/execd/code_interpreter.rb', line 8

def error
  @error
end

#execution_countObject (readonly)

Returns the value of attribute execution_count

Returns:

  • (Object)

    the current value of execution_count



8
9
10
# File 'lib/open_sandbox/execd/code_interpreter.rb', line 8

def execution_count
  @execution_count
end

#execution_time_msObject (readonly)

Returns the value of attribute execution_time_ms

Returns:

  • (Object)

    the current value of execution_time_ms



8
9
10
# File 'lib/open_sandbox/execd/code_interpreter.rb', line 8

def execution_time_ms
  @execution_time_ms
end

#resultObject (readonly)

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



8
9
10
# File 'lib/open_sandbox/execd/code_interpreter.rb', line 8

def result
  @result
end

#stderrObject (readonly)

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



8
9
10
# File 'lib/open_sandbox/execd/code_interpreter.rb', line 8

def stderr
  @stderr
end

#stdoutObject (readonly)

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



8
9
10
# File 'lib/open_sandbox/execd/code_interpreter.rb', line 8

def stdout
  @stdout
end