org.jruby
Class RubyJRuby

java.lang.Object
  extended by org.jruby.RubyJRuby

public class RubyJRuby
extends java.lang.Object

Module which defines JRuby-specific methods for use.


Nested Class Summary
static class RubyJRuby.CoreExtLibrary
           
static class RubyJRuby.ExtLibrary
           
static class RubyJRuby.JRubyClassExtensions
           
static class RubyJRuby.JRubyCompiledScript
           
static class RubyJRuby.JRubyExecutionContextLocal
           
static class RubyJRuby.JRubyExtensions
           
static class RubyJRuby.JRubyFiberLocal
           
static class RubyJRuby.JRubyStringExtensions
           
static class RubyJRuby.JRubyThreadExtensions
           
static class RubyJRuby.JRubyThreadLocal
           
static class RubyJRuby.MethodExtensions
           
static class RubyJRuby.TypeLibrary
           
 
Constructor Summary
RubyJRuby()
           
 
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 void gc(IRubyObject recv)
           
static IRubyObject getObjectSpaceEnabled(IRubyObject recv, Block b)
           
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 setObjectSpaceEnabled(IRubyObject recv, IRubyObject arg, Block b)
           
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
 

Constructor Detail

RubyJRuby

public RubyJRuby()
Method Detail

createJRuby

public static RubyModule createJRuby(Ruby runtime)

createJRubyExt

public static RubyModule createJRubyExt(Ruby runtime)

createJRubyCoreExt

public static void createJRubyCoreExt(Ruby runtime)

gc

public static void gc(IRubyObject recv)

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)

getObjectSpaceEnabled

public static IRubyObject getObjectSpaceEnabled(IRubyObject recv,
                                                Block b)

setObjectSpaceEnabled

public static IRubyObject setObjectSpaceEnabled(IRubyObject recv,
                                                IRubyObject arg,
                                                Block b)

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.