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

ruby-changes:13892

From: marcandre <ko1@a...>
Date: Mon, 9 Nov 2009 02:46:49 +0900 (JST)
Subject: [ruby-changes:13892] Ruby:r25694 (ruby_1_8_7): * NEWS: added String#bytes and Enumerable#to_a

marcandre	2009-11-09 02:46:39 +0900 (Mon, 09 Nov 2009)

  New Revision: 25694

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

  Log:
    * NEWS: added String#bytes and Enumerable#to_a

  Modified files:
    branches/ruby_1_8_7/NEWS

Index: ruby_1_8_7/NEWS
===================================================================
--- ruby_1_8_7/NEWS	(revision 25693)
+++ ruby_1_8_7/NEWS	(revision 25694)
@@ -162,6 +162,10 @@
 
     New alias to #inject.
 
+  * Enumerable#to_a
+
+    Can take optional arguments and pass them to #each.
+
   * Hash#eql?
   * Hash#hash
   * Hash#==
@@ -263,6 +267,10 @@
 
   * Regexp.union accepts an array of patterns.
 
+  * String#bytes
+
+    New method
+
   * String#bytesize
 
     New method, returning the size in bytes. (alias length and size)

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

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