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

ruby-changes:9100

From: knu <ko1@a...>
Date: Thu, 11 Dec 2008 20:21:56 +0900 (JST)
Subject: [ruby-changes:9100] Ruby:r20637 (ruby_1_9_1): Mention Hash#key and other hash like interfaces.

knu	2008-12-11 20:21:42 +0900 (Thu, 11 Dec 2008)

  New Revision: 20637

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

  Log:
    Mention Hash#key and other hash like interfaces.

  Modified files:
    branches/ruby_1_9_1/doc/NEWS

Index: ruby_1_9_1/doc/NEWS
===================================================================
--- ruby_1_9_1/doc/NEWS	(revision 20636)
+++ ruby_1_9_1/doc/NEWS	(revision 20637)
@@ -41,6 +41,9 @@
           o Hash#to_s is equivalent to Hash#inspect
           o Semantics for Hash#each and Hash#each_pair
           o Hash#select
+          o Hash#key is the new name for #index which has been deprecated.
+          o Most of the changes in Hash apply to hash like interfaces such as
+            ENV and *DBM.
     * Integer
           o Integer(nil) raises TypeError
     * Struct

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

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