From 4bab25cada1bbddff3d7699e8cfc15a5b1954872 Mon Sep 17 00:00:00 2001 From: yugui Date: Thu, 4 Dec 2008 08:55:45 +0000 Subject: 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_method.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'vm_method.c') diff --git a/vm_method.c b/vm_method.c index 3f9d5025a..72fc33f54 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+. */ -- cgit