summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-22 17:05:03 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-22 17:05:03 +0000
commit1e30df6f77c79b07d1c65e450b0167861c180473 (patch)
tree68ad1f210e24af5733e27ed086bf9796fb6777a3 /NEWS
parent8ef2aae2d0350506fb1b12eb0afd56b5b1f51b89 (diff)
ostruct.rb: Accept block for to_h [#15451].
Patch by Shuji Kobayashi. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 17f03af6b0..02b12f3d82 100644
--- a/NEWS
+++ b/NEWS
@@ -239,6 +239,13 @@ sufficient information, see the ChangeLog file or Redmine
* Numeric#step now returns an instance of Enumerator::ArithmeticSequence
class rather than one of Enumerator class.
+[OpenStruct]
+
+ [Modified methods]
+
+ * OpenStruct#to_h now maps keys and values to new keys and values
+ by the block if given. [Feature #15143]
+
[Proc]
[New methods]