aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-12 05:19:22 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-12 05:19:22 +0000
commit1ed7fdf1fa97a167768534dddb5a393274937cca (patch)
treea1bf94d6102cb734944cbff15f58312d3a3a3854 /gc.c
parent2eb3c2c52850690a3fd2bc2267f8eafdab62c950 (diff)
downloadruby-1ed7fdf1fa97a167768534dddb5a393274937cca.tar.gz
* gc.c: Document require name for ObjectSpace methods.
[ci skip][fix GH-860] Patch by @schneems git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index a516de630b..f311501646 100644
--- a/gc.c
+++ b/gc.c
@@ -8966,6 +8966,8 @@ rb_gcdebug_sentinel(VALUE obj, const char *name)
* called when a specific object is about to be destroyed by garbage
* collection.
*
+ * require 'objspace'
+ *
* a = "A"
* b = "B"
*