Exception: Emfrp::Interpreter::InterpreterError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/emfrp/interpreter/interpreter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ InterpreterError

Returns a new instance of InterpreterError.



13
14
15
# File 'lib/emfrp/interpreter/interpreter.rb', line 13

def initialize(code)
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



12
13
14
# File 'lib/emfrp/interpreter/interpreter.rb', line 12

def code
  @code
end