summaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-04 08:09:06 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-04 08:09:06 +0000
commit17d56079b065a14bd9ad7b0d5c7cf34e9f38ee2b (patch)
tree8d22de6d7b9a2adf2d7e42c7cb6de8663d4c603a /string.c
parentc936d43ad20a43ad9a972e8be5ceb65d61a38e82 (diff)
downloadruby-17d56079b065a14bd9ad7b0d5c7cf34e9f38ee2b.tar.gz
ruby-17d56079b065a14bd9ad7b0d5c7cf34e9f38ee2b.tar.xz
ruby-17d56079b065a14bd9ad7b0d5c7cf34e9f38ee2b.zip
* re.c (ignorecase_setter): change warning message.
* re.c (ignorecase_getter): now gives warning. * string.c (rb_str_cmp_m): update RDoc document. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/string.c b/string.c
index 67495e511..67ea57401 100644
--- a/string.c
+++ b/string.c
@@ -1293,9 +1293,7 @@ rb_str_eql(VALUE str1, VALUE str2)
* <i>other_str</i> is equal to, and +1 if <i>other_str</i> is greater than
* <i>str</i>. If the strings are of different lengths, and the strings are
* equal when compared up to the shortest length, then the longer string is
- * considered greater than the shorter one. If the variable <code>$=</code> is
- * <code>false</code>, the comparison is based on comparing the binary values
- * of each character in the string. In older versions of Ruby, setting
+ * considered greater than the shorter one. In older versions of Ruby, setting
* <code>$=</code> allowed case-insensitive comparisons; this is now deprecated
* in favor of using <code>String#casecmp</code>.
*