Issue #11067 has been reported by Richard Schneeman.

----------------------------------------
Feature #11067: Add documentation to ObjectSpace.count_objects
https://bugs.ruby-lang.org/issues/11067

* Author: Richard Schneeman
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
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.





-- 
https://bugs.ruby-lang.org/