summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-04 02:39:55 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-04 02:39:55 +0000
commit512bfb4c63581e674b2daeadd80364727f0dc672 (patch)
treefe30d49bc9a7e000a39fdb663e1dfbfc7b7f2a86
parentf130dcdc394efe735ff3f2518d3c696203f4caee (diff)
downloadruby-512bfb4c63581e674b2daeadd80364727f0dc672.tar.gz
ruby-512bfb4c63581e674b2daeadd80364727f0dc672.tar.xz
ruby-512bfb4c63581e674b2daeadd80364727f0dc672.zip
* 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/trunk@20480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--vm_method.c11
2 files changed, 6 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a2ef256c..fe7a53017 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Dec 4 11:38:40 2008 Akinori MUSHA <knu@iDaemons.org>
+
+ * vm_method.c (rb_obj_respond_to): Remove a duplicated rdoc
+ comment and fix a markup error.
+
Thu Dec 4 06:04:16 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/tk/menu.rb: TkOptionMenubutton.new fails to treat
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+.
*/