class RCGTK::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 RCGTK::ExecutionEngine::new
# File lib/rcgtk/execution_engine.rb, line 139
def initialize(mod)
        super(mod) do |ptr, error|
                Bindings.create_interpreter_for_module(ptr, mod, error)
        end
end