This is the API documentation for objspace: Ruby Standard Library Documentation.
Support for the Ruby 2.4 series has ended. See here for reference.
New to Ruby? You may find these links helpful: syntax, control expressions, assignment, methods, modules + classes, and operator precedence.
This is the API documentation for objspace: Ruby Standard Library Documentation.
::allocation_class_path (ObjectSpace)
::allocation_generation (ObjectSpace)
::allocation_method_id (ObjectSpace)
::allocation_sourcefile (ObjectSpace)
::allocation_sourceline (ObjectSpace)
::count_imemo_objects (ObjectSpace)
::count_objects_size (ObjectSpace)
::count_tdata_objects (ObjectSpace)
::internal_class_of (ObjectSpace)
::internal_super_of (ObjectSpace)
::memsize_of_all (ObjectSpace)
::reachable_objects_from (ObjectSpace)
::reachable_objects_from_root (ObjectSpace)
::trace_object_allocations (ObjectSpace)
::trace_object_allocations_clear (ObjectSpace)
::trace_object_allocations_debug_start (ObjectSpace)
::trace_object_allocations_start (ObjectSpace)
::trace_object_allocations_stop (ObjectSpace)
#inspect (ObjectSpace::InternalObjectWrapper)