From 06be1f30b887037d69c83016eddeaecc770fc195 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 5 Dec 2008 01:01:53 +0000 Subject: * string.c (rb_str_cmp_m): fixed rdoc. pointed out by at [ruby-talk:321967] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index b4963b0ce..b46c69b64 100644 --- a/string.c +++ b/string.c @@ -2149,8 +2149,8 @@ rb_str_eql(VALUE str1, VALUE str2) * call-seq: * str <=> other_str => -1, 0, +1 * - * Comparison---Returns -1 if other_str is less than, 0 if - * other_str is equal to, and +1 if other_str is greater than + * Comparison---Returns -1 if other_str is greater than, 0 if + * other_str is equal to, and +1 if other_str is less than * str. 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 -- cgit