mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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/trunk@20480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c5d06834d2
commit
f259918c81
2 changed files with 6 additions and 10 deletions
|
@ -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>
|
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
|
* ext/tk/lib/tk/menu.rb: TkOptionMenubutton.new fails to treat
|
||||||
|
|
11
vm_method.c
11
vm_method.c
|
@ -1054,15 +1054,6 @@ rb_method_basic_definition_p(VALUE klass, ID id)
|
||||||
return 0;
|
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
|
int
|
||||||
rb_obj_respond_to(VALUE obj, ID id, int priv)
|
rb_obj_respond_to(VALUE obj, ID id, int priv)
|
||||||
{
|
{
|
||||||
|
@ -1091,7 +1082,7 @@ rb_respond_to(VALUE obj, ID id)
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* obj.respond_to?(symbol, include_private=false) => true or false
|
* 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
|
* method. Private methods are included in the search only if the
|
||||||
* optional second parameter evaluates to +true+.
|
* optional second parameter evaluates to +true+.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue