diff --git a/ChangeLog b/ChangeLog index b6276547ad..d6492713a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jul 9 15:57:20 2013 Akinori MUSHA + + * object.c: Fix rdoc for Kernel#<=>. [Fix GH-352] + Tue Jul 9 15:53:51 2013 Akinori MUSHA * lib/fileutils.rb (FileUtils#mode_to_s): Define mode_to_s() also diff --git a/object.c b/object.c index 23dbbf4d10..082d2f4c6e 100644 --- a/object.c +++ b/object.c @@ -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.