summaryrefslogtreecommitdiff
path: root/test/ruby/test_hash.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-01-11 15:04:44 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-01-17 17:20:19 +0900
commitb23fd59cbb3f097bcd559d0c85a86ff7a1eeeb7e (patch)
tree6335497f7d67ee338cf61750d8d4244967c4a1d1 /test/ruby/test_hash.rb
parentc98c492578d898dc07a04b8240d8d5b1508ffafa (diff)
marshal.c: Support dump and load of a Hash with the ruby2_keywords flag
It is useful for a program that dumps and load arguments (like drb). In future, they should deal with both positional arguments and keyword ones explicitly, but until ruby2_keywords is deprecated, it is good to support the flag in marshal. The implementation is similar to String's encoding; it is dumped as a hidden instance variable. [Feature #16501]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2830
Diffstat (limited to 'test/ruby/test_hash.rb')
0 files changed, 0 insertions, 0 deletions