Package org.jruby
Class RubyObjectSpace
java.lang.Object
org.jruby.RubyObjectSpace
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RubyModulecreateObjectSpaceModule(Ruby runtime) Create the ObjectSpace module and add it to the Ruby runtime.static IRubyObjectdefine_finalizer(IRubyObject recv, IRubyObject[] args, Block block) static IRubyObjecteach_object(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObjecteach_objectInternal(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObjectgarbage_collect(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObjectid2ref(IRubyObject recv, IRubyObject id) static IRubyObjectundefine_finalizer(IRubyObject recv, IRubyObject obj, Block block)
-
Constructor Details
-
RubyObjectSpace
public RubyObjectSpace()
-
-
Method Details
-
createObjectSpaceModule
Create the ObjectSpace module and add it to the Ruby runtime. -
define_finalizer
-
undefine_finalizer
-
id2ref
-
each_objectInternal
public static IRubyObject each_objectInternal(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) -
each_object
public static IRubyObject each_object(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) -
garbage_collect
public static IRubyObject garbage_collect(ThreadContext context, IRubyObject recv, IRubyObject[] args)
-