|
prev
-
up
-
next
-
index
-
ObjectSpace
-
The module to iterate over living objects.
-
Module Functions:
-
-
add_finalizer(proc)
-
Sets the proc as the finalizer. When the object that
specified by call_finalizer
are going to be recycled, the finalizers are called with their ID's
(c.f Object#id).
-
call_finalizer(obj)
-
Set the finalizer flag for the object. The finalizers are called when
objects that the flag set are going to recycle.
-
finalizers
-
Returns the list of the finalizers.
-
each_object([class_or_module])
-
Iterates over all living objects which is instance of the
class_or_module. Without an argument, it
iterates over all existing objects.
-
garbage_collect
-
Starts collecting objects which is no longer accessed from anywhere.
-
remove_finalizer(proc)
-
Removes the proc from the finalizers.
prev
-
up
-
next
-
index
matz@netlab.co.jp
|