summaryrefslogtreecommitdiffstats
path: root/lib/kross/ruby/rubyinterpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/ruby/rubyinterpreter.h')
-rw-r--r--lib/kross/ruby/rubyinterpreter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/kross/ruby/rubyinterpreter.h b/lib/kross/ruby/rubyinterpreter.h
index f16f2b3d1..0c7eb5fc4 100644
--- a/lib/kross/ruby/rubyinterpreter.h
+++ b/lib/kross/ruby/rubyinterpreter.h
@@ -61,6 +61,15 @@ class RubyInterpreter : public Kross::Api::Interpreter
void finalizeRuby();
/// Load an external plugin / module.
static VALUE require (VALUE, VALUE);
+
+ public:
+ /**
+ * @return 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.
+ */
+ static VALUE krossModule();
+
private:
/// Private d-pointer.
static RubyInterpreterPrivate* d;