diff options
-rw-r--r-- | string.c | 8 | ||||
-rw-r--r-- | version.h | 4 |
2 files changed, 6 insertions, 6 deletions
@@ -3454,9 +3454,9 @@ rb_str_eql(VALUE str1, VALUE str2) * string <=> other_string -> -1, 0, 1, or nil * * Compares +self+ and +other_string+, returning: - * - -1 if +other_string+ is smaller. + * - -1 if +other_string+ is larger. * - 0 if the two are equal. - * - 1 if +other_string+ is larger. + * - 1 if +other_string+ is smaller. * - +nil+ if the two are incomparable. * * Examples: @@ -3488,9 +3488,9 @@ static VALUE str_casecmp_p(VALUE str1, VALUE str2); * str.casecmp(other_str) -> -1, 0, 1, or nil * * Compares +self+ and +other_string+, ignoring case, and returning: - * - -1 if +other_string+ is smaller. + * - -1 if +other_string+ is larger. * - 0 if the two are equal. - * - 1 if +other_string+ is larger. + * - 1 if +other_string+ is smaller. * - +nil+ if the two are incomparable. * * Examples: @@ -12,11 +12,11 @@ # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR #define RUBY_VERSION_TEENY 4 #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 160 +#define RUBY_PATCHLEVEL 161 #define RUBY_RELEASE_YEAR 2021 #define RUBY_RELEASE_MONTH 12 -#define RUBY_RELEASE_DAY 2 +#define RUBY_RELEASE_DAY 24 #include "ruby/version.h" |