diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-09 07:02:06 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-09 07:02:06 +0000 |
commit | b0bc85f933b3c76ff97fe5c8f8e22c87cb8c40f7 (patch) | |
tree | bbd8ba77ff420a113c7f3f08ece7b9eca7d611c3 | |
parent | a6e3d4bea0c6625c76669d7246868f7683dd23a6 (diff) | |
download | ruby-b0bc85f933b3c76ff97fe5c8f8e22c87cb8c40f7.tar.gz |
* object.c: Fix rdoc for Kernel#<=>. [Fix GH-352]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | object.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Jul 9 15:57:20 2013 Akinori MUSHA <knu@iDaemons.org> + + * object.c: Fix rdoc for Kernel#<=>. [Fix GH-352] + Tue Jul 9 15:53:51 2013 Akinori MUSHA <knu@iDaemons.org> * lib/fileutils.rb (FileUtils#mode_to_s): Define mode_to_s() also @@ -1357,7 +1357,7 @@ rb_obj_not_match(VALUE obj1, VALUE obj2) * call-seq: * obj <=> other -> 0 or nil * - * Returns 0 if obj === other, otherwise nil. + * Returns 0 if obj.equal?(other) or obj == other, otherwise nil. * * The <=> is used by various methods to compare objects, for example * Enumerable#sort, Enumerable#max etc. |