class RLTK::CG::Interpreter
An execution engine that interprets the given code.
Public Class Methods
new(mod)
click to toggle source
Create a new interpreter.
@param [Module] mod Module
to be executed.
Calls superclass method
RLTK::CG::ExecutionEngine::new
# File lib/rltk/cg/execution_engine.rb, line 139 def initialize(mod) super(mod) do |ptr, error| Bindings.create_interpreter_for_module(ptr, mod, error) end end