Kross::Ruby::RubyInterpreter Class Reference
#include <rubyinterpreter.h>
Inheritance diagram for Kross::Ruby::RubyInterpreter:
Public Member Functions | |
| RubyInterpreter (Kross::Api::InterpreterInfo *info) | |
| virtual | ~RubyInterpreter () |
| virtual Kross::Api::Script * | createScript (Kross::Api::ScriptContainer *scriptcontainer) |
| Public Member Functions inherited from Kross::Api::Interpreter | |
| Interpreter (InterpreterInfo *info) | |
| virtual | ~Interpreter () |
Static Public Member Functions | |
| static VALUE | krossModule () |
Additional Inherited Members | |
| Protected Attributes inherited from Kross::Api::Interpreter | |
| InterpreterInfo * | m_interpreterinfo |
Detailed Description
This class is the bridget between Kross and Ruby.
Definition at line 35 of file rubyinterpreter.h.
Constructor & Destructor Documentation
◆ RubyInterpreter()
| Kross::Ruby::RubyInterpreter::RubyInterpreter | ( | Kross::Api::InterpreterInfo * | info | ) |
Constructor.
- Parameters
-
info The Kross::Api::InterpreterInfo instance that describes this RubyInterpreter .
Definition at line 78 of file rubyinterpreter.cpp.
◆ ~RubyInterpreter()
|
virtual |
Destructor.
Definition at line 98 of file rubyinterpreter.cpp.
Member Function Documentation
◆ createScript()
|
virtual |
Factory method to create and return a new RubyScript instance.
Implements Kross::Api::Interpreter.
Definition at line 104 of file rubyinterpreter.cpp.
◆ krossModule()
|
static |
- Returns
- the ruby object with the module Kross, this module holds class definition used by kross, and scripts object. All kross specific objects should be member of that module.
Definition at line 117 of file rubyinterpreter.cpp.
The documentation for this class was generated from the following files:
