From 3785d2675abf2e4aca07e89596ea6f12b4c474a5 Mon Sep 17 00:00:00 2001 From: marcandre Date: Sun, 28 Oct 2012 21:19:50 +0000 Subject: * lib/ostruct.rb: Also accept {Open}Struct as argument to new [ruby-core:47476] [Feature #7007] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index beda22536b..3c2040fee4 100644 --- a/NEWS +++ b/NEWS @@ -122,6 +122,8 @@ with all sufficient information, see the ChangeLog file. * OpenStruct#eql? * OpenStruct#hash * OpenStruct#to_h converts the struct to a hash. + * extended method: + * OpenStruct.new also accepts an OpenStruct / Struct. * pathname * extended method: -- cgit v1.2.3