diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | object.c | 5 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,7 @@ +Sat Jul 13 23:34:13 2013 Akinori MUSHA <knu@iDaemons.org> + + * object.c: Fix rdoc for Kernel#<=>. [Fix GH-352] + Sat Jul 13 23:29:51 2013 Akinori MUSHA <knu@iDaemons.org> * lib/fileutils.rb (FileUtils#mode_to_s): Define mode_to_s() also @@ -1320,7 +1320,8 @@ 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+ and +other+ are the same object + * or <code>obj == other</code>, otherwise nil. * * The <=> is used by various methods to compare objects, for example * Enumerable#sort, Enumerable#max etc. @@ -1330,7 +1331,7 @@ rb_obj_not_match(VALUE obj1, VALUE obj2) * 1 means self is bigger than other. Nil means the two values could not be * compared. * - * When you defined <=>, you can include Comparable to gain the methods <=, <, + * When you define <=>, you can include Comparable to gain the methods <=, <, * ==, >=, > and between?. */ static VALUE @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.0.0" #define RUBY_RELEASE_DATE "2013-07-13" -#define RUBY_PATCHLEVEL 260 +#define RUBY_PATCHLEVEL 261 #define RUBY_RELEASE_YEAR 2013 #define RUBY_RELEASE_MONTH 7 |