org.jruby
Class RubyJRuby
java.lang.Object
org.jruby.RubyJRuby
public class RubyJRuby
- extends java.lang.Object
Module which defines JRuby-specific methods for use.
Method Summary |
static IRubyObject |
compile(IRubyObject recv,
IRubyObject[] args,
Block block)
|
static RubyModule |
createJRuby(Ruby runtime)
|
static void |
createJRubyCoreExt(Ruby runtime)
|
static RubyModule |
createJRubyExt(Ruby runtime)
|
static IRubyObject |
dereference(ThreadContext context,
IRubyObject recv,
IRubyObject obj)
|
static IRubyObject |
parse(IRubyObject recv,
IRubyObject[] args,
Block block)
|
static IRubyObject |
reference(ThreadContext context,
IRubyObject recv,
IRubyObject obj)
|
static IRubyObject |
runtime(IRubyObject recv,
Block unusedBlock)
|
static IRubyObject |
with_current_runtime_as_global(ThreadContext context,
IRubyObject recv,
Block block)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RubyJRuby
public RubyJRuby()
createJRuby
public static RubyModule createJRuby(Ruby runtime)
createJRubyExt
public static RubyModule createJRubyExt(Ruby runtime)
createJRubyCoreExt
public static void createJRubyCoreExt(Ruby runtime)
runtime
public static IRubyObject runtime(IRubyObject recv,
Block unusedBlock)
with_current_runtime_as_global
public static IRubyObject with_current_runtime_as_global(ThreadContext context,
IRubyObject recv,
Block block)
parse
public static IRubyObject parse(IRubyObject recv,
IRubyObject[] args,
Block block)
compile
public static IRubyObject compile(IRubyObject recv,
IRubyObject[] args,
Block block)
reference
public static IRubyObject reference(ThreadContext context,
IRubyObject recv,
IRubyObject obj)
dereference
public static IRubyObject dereference(ThreadContext context,
IRubyObject recv,
IRubyObject obj)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.