summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-31 04:30:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-31 04:30:18 +0000
commit07bf69b0857d80b62e9fb1ac0886ee94ca8c2508 (patch)
tree5eec08ccd31aae880e673821478034063136418f /vm_method.c
parent9c53f65b00b0eb85b4103b7fdf287d5985fd080a (diff)
vm_method.c: [DOC] example of respond_to_missing?
* vm_method.c (obj_respond_to_missing): [DOC] respond_to_missing? is used in the example of BasicObject. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index 61846c26dd..a026699acb 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1639,7 +1639,7 @@ obj_respond_to(int argc, VALUE *argv, VALUE obj)
* When the method name parameter is given as a string, the string is
* converted to a symbol.
*
- * See #respond_to?.
+ * See #respond_to?, and the example of BasicObject.
*/
static VALUE
obj_respond_to_missing(VALUE obj, VALUE mid, VALUE priv)