[前][次][番号順一覧][スレッド一覧]

ruby-changes:9016

From: yugui <ko1@a...>
Date: Fri, 5 Dec 2008 22:35:30 +0900 (JST)
Subject: [ruby-changes:9016] Ruby:r20553 (ruby_1_9_1): merges r20534 from trunk into ruby_1_9_1.

yugui	2008-12-05 22:34:25 +0900 (Fri, 05 Dec 2008)

  New Revision: 20553

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20553

  Log:
    merges r20534 from trunk into ruby_1_9_1.
    * string.c (rb_str_cmp_m): fixed rdoc.  pointed out by <Thomas
      C. Mitchell AT gmail.com> at [ruby-talk:321967]

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/string.c

Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 20552)
+++ ruby_1_9_1/ChangeLog	(revision 20553)
@@ -1,3 +1,8 @@
+Fri Dec  5 10:01:43 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* 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@f...>
 
 	* io.c (io_binwrite): arg.offset should be updated after retry.
Index: ruby_1_9_1/string.c
===================================================================
--- ruby_1_9_1/string.c	(revision 20552)
+++ ruby_1_9_1/string.c	(revision 20553)
@@ -2149,8 +2149,8 @@
  *  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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]