summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-04 08:55:45 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-04 08:55:45 +0000
commit962d8495f5b5f18941bd4b98c5d75e49b596ce1d (patch)
tree183fc15b5c56e67adb533e3e7a2d53481e4c1f1d /vm_method.c
parentce5802488f0cb4f0ff1006a8f285293af8696e32 (diff)
merges r20480 from trunk into ruby_1_9_1.
* vm_method.c (rb_obj_respond_to): Remove a duplicated rdoc comment and fix a markup error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/vm_method.c b/vm_method.c
index 3f9d5025aa..72fc33f54e 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1054,15 +1054,6 @@ rb_method_basic_definition_p(VALUE klass, ID id)
return 0;
}
-/*
- * call-seq:
- * obj.respond_to?(symbol, include_private=false) => true or false
- *
- * Returns +true+> if _obj_ responds to the given
- * method. Private methods are included in the search only if the
- * optional second parameter evaluates to +true+.
- */
-
int
rb_obj_respond_to(VALUE obj, ID id, int priv)
{
@@ -1091,7 +1082,7 @@ rb_respond_to(VALUE obj, ID id)
* call-seq:
* obj.respond_to?(symbol, include_private=false) => true or false
*
- * Returns +true+> if _obj_ responds to the given
+ * Returns +true+ if _obj_ responds to the given
* method. Private methods are included in the search only if the
* optional second parameter evaluates to +true+.
*/