summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-18 03:59:15 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-18 03:59:15 +0000
commit62c9ecfa122da546af36ed5a31e8696c62ced036 (patch)
tree40fd17671b67821d024a1d47beb5a22d1faad43b /NEWS
parentcc6ab53f592016daf6f4ef0075e4f33f365d638f (diff)
Revert r35339-35343 because of no tests.
* hash.c: Alias ENV.to_h to ENV.to_hash [ref #6276] * lib/ostruct.rb: Add OpenStruct#to_h [Feature #6276] * struct.c: Add Struct#to_h [Feature #6276] * object.c: Add NilClass#to_h [Feature #6276] * hash.c: Add Hash#to_h [Feature #6276] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS19
1 files changed, 0 insertions, 19 deletions
diff --git a/NEWS b/NEWS
index 55c4c41289..e390b9f09a 100644
--- a/NEWS
+++ b/NEWS
@@ -21,13 +21,7 @@ with all sufficient information, see the ChangeLog file.
* added method:
* added Enumerable#lazy method for lazy enumeration.
- * ENV
- * aliased method:
- * ENV.to_h is a new alias for ENV.to_hash
-
* Hash
- * added method:
- * added Hash#to_h as explicit conversion method, like Array#to_a.
* extended method:
* Hash#default_proc= can be passed nil to clear the default proc.
@@ -47,20 +41,11 @@ with all sufficient information, see the ChangeLog file.
* added LoadError#path method to return the file name that could not be
loaded.
- * NilClass
- * added method:
- * added nil.to_h which returns {}
-
* Signal
* incompatible changes:
* Signal.trap raises ArgumentError when :SEGV, :BUS, :ILL, :FPE, :VTALRM
are specified.
- * Struct
- * added method:
- * added Struct#to_h returning values with keys corresponding to the
- instance variable names.
-
* Time
* change return value:
* Time#to_s returned encoding defaults to US-ASCII but automatically
@@ -78,10 +63,6 @@ with all sufficient information, see the ChangeLog file.
* Net::IMAP.default_ssl_port
* Net::IMAP.default_imaps_port
-* ostruct
- * new methods:
- * OpenStruct#to_h converts the struct to a hash.
-
* pathname
* extended method:
* Pathname#find returns an enumerator if no block is given.