org.jruby
Class RubyObjectSpace

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

public class RubyObjectSpace
extends java.lang.Object


Constructor Summary
RubyObjectSpace()
           
 
Method Summary
static RubyModule createObjectSpaceModule(Ruby runtime)
          Create the ObjectSpace module and add it to the Ruby runtime.
static IRubyObject define_finalizer(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject each_object(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject each_object19(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject garbage_collect(IRubyObject recv)
           
static IRubyObject id2ref(IRubyObject recv, IRubyObject id)
           
static IRubyObject undefine_finalizer(IRubyObject recv, IRubyObject arg1, Block block)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubyObjectSpace

public RubyObjectSpace()
Method Detail

createObjectSpaceModule

public static RubyModule createObjectSpaceModule(Ruby runtime)
Create the ObjectSpace module and add it to the Ruby runtime.


define_finalizer

public static IRubyObject define_finalizer(IRubyObject recv,
                                           IRubyObject[] args,
                                           Block block)

undefine_finalizer

public static IRubyObject undefine_finalizer(IRubyObject recv,
                                             IRubyObject arg1,
                                             Block block)

id2ref

public static IRubyObject id2ref(IRubyObject recv,
                                 IRubyObject id)

each_object

public static IRubyObject each_object(ThreadContext context,
                                      IRubyObject recv,
                                      IRubyObject[] args,
                                      Block block)

each_object19

public static IRubyObject each_object19(ThreadContext context,
                                        IRubyObject recv,
                                        IRubyObject[] args,
                                        Block block)

garbage_collect

public static IRubyObject garbage_collect(IRubyObject recv)


Copyright © 2002-2007 JRuby Team. All Rights Reserved.