diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-05 01:01:53 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-05 01:01:53 +0000 |
| commit | 06be1f30b887037d69c83016eddeaecc770fc195 (patch) | |
| tree | 2f459fcbf4ff8cf9fc4ef48d50b2250dd1179c9d | |
| parent | 9f65986afcef11e375b7087c40ae88567b79c51f (diff) | |
| download | ruby-06be1f30b887037d69c83016eddeaecc770fc195.tar.gz ruby-06be1f30b887037d69c83016eddeaecc770fc195.tar.xz ruby-06be1f30b887037d69c83016eddeaecc770fc195.zip | |
* string.c (rb_str_cmp_m): fixed rdoc. pointed out by <Thomas
C. Mitchell AT gmail.com> at [ruby-talk:321967]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | string.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Fri Dec 5 10:01:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * string.c (rb_str_cmp_m): fixed rdoc. pointed out by <Thomas + C. Mitchell AT gmail.com> at [ruby-talk:321967] + Fri Dec 5 07:58:30 2008 Tanaka Akira <akr@fsij.org> * io.c (io_binwrite): arg.offset should be updated after retry. @@ -2149,8 +2149,8 @@ rb_str_eql(VALUE str1, VALUE str2) * call-seq: * str <=> other_str => -1, 0, +1 * - * Comparison---Returns -1 if <i>other_str</i> is less than, 0 if - * <i>other_str</i> is equal to, and +1 if <i>other_str</i> is greater than + * Comparison---Returns -1 if <i>other_str</i> is greater than, 0 if + * <i>other_str</i> is equal to, and +1 if <i>other_str</i> is less 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. In older versions of Ruby, setting |
