diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-28 21:19:15 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-28 21:19:15 +0000 |
commit | b4300d25c941475db902ed2dc667ac23d36be992 (patch) | |
tree | 1505baa640a703a09b9dc89cb93cdb354d611a95 /NEWS | |
parent | 15d4862b913f6d555ce8a79075d69bba74b5b9bc (diff) |
* 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
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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". |