Package org.jruby
Class RubyObjectSpace
java.lang.Object
org.jruby.RubyObjectSpace
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RubyModule
createObjectSpaceModule
(ThreadContext context, RubyClass Object) Create the ObjectSpace module and add it to the Ruby runtime.static IRubyObject
define_finalizer
(IRubyObject recv, IRubyObject[] args, Block block) Deprecated.static IRubyObject
define_finalizer
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObject
each_object
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObject
each_objectInternal
(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) static IRubyObject
garbage_collect
(ThreadContext context, IRubyObject recv, IRubyObject[] args) static IRubyObject
id2ref
(IRubyObject recv, IRubyObject id) Deprecated.static IRubyObject
id2ref
(ThreadContext context, IRubyObject recv, IRubyObject id) static IRubyObject
undefine_finalizer
(IRubyObject recv, IRubyObject obj, Block block) Deprecated.static IRubyObject
undefine_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)
-