Actions
Feature #11067
closedAdd documentation to ObjectSpace.count_objects
Status:
Closed
Assignee:
-
Target version:
-
Description
Add examples and mention that the :TOTAL
key returns the number of allocated + freed slots (rather than bytes). Also add an example for passing in a hash as an argument.
Files
Updated by schneems (Richard Schneeman) over 9 years ago
- File ruby-changes.patch ruby-changes.patch added
Updated by zzak (zzak _) over 9 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r50303.
- gc.c: [DOC] Improve documentation for ObjectSpace.count_objects
with regards to:TOTAL
key, with patch by @schneems (Richard Schneeman) [Fixes GH-871]
https://github.com/ruby/ruby/pull/871 [Bug #11067] [ci skip]
Actions
Like0
Like0Like0