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

ruby-changes:20091

From: drbrain <ko1@a...>
Date: Fri, 17 Jun 2011 07:23:44 +0900 (JST)
Subject: [ruby-changes:20091] drbrain:r32138 (trunk): * array.c (rb_ary_drop): Improve documentation. Patch by Caley Woods.

drbrain	2011-06-17 07:23:25 +0900 (Fri, 17 Jun 2011)

  New Revision: 32138

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

  Log:
    * array.c (rb_ary_drop):  Improve documentation.  Patch by Caley Woods.
      [Ruby 1.9 - Bug #4858]

  Modified files:
    trunk/ChangeLog
    trunk/array.c

Index: array.c
===================================================================
--- array.c	(revision 32137)
+++ array.c	(revision 32138)
@@ -4553,8 +4553,8 @@
  *  call-seq:
  *     ary.drop(n)               -> new_ary
  *
- *  Drops first n elements from <i>ary</i>, and returns rest elements
- *  in an array.
+ *  Drops first n elements from +ary+ and returns the rest of
+ *  the elements in an array.
  *
  *     a = [1, 2, 3, 4, 5, 0]
  *     a.drop(3)             #=> [4, 5, 0]
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32137)
+++ ChangeLog	(revision 32138)
@@ -1,3 +1,8 @@
+Fri Jun 17 07:23:03 2011  Eric Hodel  <drbrain@s...>
+
+	* array.c (rb_ary_drop):  Improve documentation.  Patch by Caley Woods.
+	  [Ruby 1.9 - Bug #4858]
+
 Fri Jun 17 06:11:31 2011  Eric Hodel  <drbrain@s...>
 
 	* lib/webrick/log.rb:  Improve documentation of BasicLog and Log.

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

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