Exception: Emfrp::Interpreter::InterpreterError
- Inherits:
-
StandardError
- Object
- StandardError
- Emfrp::Interpreter::InterpreterError
- Defined in:
- lib/emfrp/interpreter/interpreter.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ InterpreterError
constructor
A new instance of InterpreterError.
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
#code ⇒ Object (readonly)
Returns the value of attribute code.
12 13 14 |
# File 'lib/emfrp/interpreter/interpreter.rb', line 12 def code @code end |