From db66739c7ce253a9051df316518948361787b50b Mon Sep 17 00:00:00 2001 From: marcandre Date: Mon, 16 Apr 2012 03:16:25 +0000 Subject: * lib/ostruct.rb: Add OpenStruct#to_h [Feature #6276] [ref #1400] [rubyspec:9e0250b2fc6f] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index c8c367ce63..2c9681d94a 100644 --- a/NEWS +++ b/NEWS @@ -74,6 +74,10 @@ 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. -- cgit v1.2.3