Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation to ObjectSpace.count_objects #871

Closed
wants to merge 1 commit into from

Conversation

schneems
Copy link
Contributor

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.

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.
@zzak zzak closed this in 9075d3e Apr 14, 2015
mmasaki pushed a commit to mmasaki/ruby that referenced this pull request May 30, 2015
  with regards to `:TOTAL` key, with patch by @schneems [Fixes rubyGH-871]
  ruby#871 [Bug ruby#11067] [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant