mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 02:23:59 +02:00
Mention Hash#key and other hash like interfaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e49797dded
commit
1e24f1afb8
1 changed files with 3 additions and 0 deletions
3
doc/NEWS
3
doc/NEWS
|
@ -41,6 +41,9 @@ Incompatible (Trivial)
|
||||||
o Hash#to_s is equivalent to Hash#inspect
|
o Hash#to_s is equivalent to Hash#inspect
|
||||||
o Semantics for Hash#each and Hash#each_pair
|
o Semantics for Hash#each and Hash#each_pair
|
||||||
o Hash#select
|
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
|
* Integer
|
||||||
o Integer(nil) raises TypeError
|
o Integer(nil) raises TypeError
|
||||||
* Struct
|
* Struct
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue