public class RubyObjectSpace
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RubyObjectSpace.WeakMap |
Constructor and Description |
---|
RubyObjectSpace() |
Modifier and Type | Method and Description |
---|---|
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_objectInternal(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block) |
static IRubyObject |
garbage_collect(ThreadContext context,
IRubyObject recv) |
static IRubyObject |
id2ref(IRubyObject recv,
IRubyObject id) |
static IRubyObject |
undefine_finalizer(IRubyObject recv,
IRubyObject obj,
Block block) |
public static RubyModule createObjectSpaceModule(Ruby runtime)
public static IRubyObject define_finalizer(IRubyObject recv, IRubyObject[] args, Block block)
public static IRubyObject undefine_finalizer(IRubyObject recv, IRubyObject obj, Block block)
public static IRubyObject id2ref(IRubyObject recv, IRubyObject id)
public static IRubyObject each_objectInternal(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
public static IRubyObject each_object(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
public static IRubyObject garbage_collect(ThreadContext context, IRubyObject recv)
Copyright © 2001-2020 JRuby. All Rights Reserved.