From b4300d25c941475db902ed2dc667ac23d36be992 Mon Sep 17 00:00:00 2001 From: marcandre Date: Sun, 28 Oct 2012 21:19:15 +0000 Subject: * lib/ostruct.rb: Add OpenStruct#eql? and OpenStruct#hash [ruby-core:42651] [Bug #6029] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index f76f676728..beda22536b 100644 --- a/NEWS +++ b/NEWS @@ -119,6 +119,8 @@ with all sufficient information, see the ChangeLog file. * ostruct * new methods: * OpenStruct#each_pair + * OpenStruct#eql? + * OpenStruct#hash * OpenStruct#to_h converts the struct to a hash. * pathname @@ -213,3 +215,6 @@ with all sufficient information, see the ChangeLog file. * Dir.mktmpdir in lib/tmpdir.rb See above. + + * OpenStruct new methods can conflict with custom attributes named + "each_pair", "eql?", "hash" or "to_h". -- cgit v1.2.3