Package org.jruby
Class RubyObjectSpace
java.lang.Object
org.jruby.RubyObjectSpace
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RubyModulecreateObjectSpaceModule(ThreadContext context, RubyClass Object) Create the ObjectSpace module and add it to the Ruby runtime.static IRubyObjectdefine_finalizer(IRubyObject recv, IRubyObject[] args, Block block) Deprecated.static IRubyObjectdefine_finalizer(ThreadContext context, 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) Deprecated.static IRubyObjectid2ref(ThreadContext context, IRubyObject recv, IRubyObject id) static IRubyObjectundefine_finalizer(IRubyObject recv, IRubyObject obj, Block block) Deprecated.static IRubyObjectundefine_finalizer(ThreadContext context, 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
@Deprecated public static IRubyObject define_finalizer(IRubyObject recv, IRubyObject[] args, Block block) Deprecated. -
define_finalizer
public static IRubyObject define_finalizer(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) -
undefine_finalizer
@Deprecated(since="10.0") public static IRubyObject undefine_finalizer(IRubyObject recv, IRubyObject obj, Block block) Deprecated. -
undefine_finalizer
public static IRubyObject undefine_finalizer(ThreadContext context, IRubyObject recv, IRubyObject obj, Block block) -
id2ref
Deprecated. -
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)
-