summaryrefslogtreecommitdiff
path: root/lib/webrick/httpservlet
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-01-06 18:22:43 +0900
committerNARUSE, Yui <naruse@airemix.jp>2020-02-18 15:09:46 +0900
commit9820f9ee0aaccd78e6e0489e8915d3925c6ee97c (patch)
treeb6aadbbd08b4adbe8a3a148dfdf3e3fac8479125 /lib/webrick/httpservlet
parent420a88d3da6deb5f7d4d8e088cb3737b9a23d29d (diff)
hash.c: Add a feature to manipulate ruby2_keywords flag
It was found that a feature to check and add ruby2_keywords flag to an existing Hash is needed when arguments are serialized and deserialized. It is possible to do the same without explicit APIs, but it would be good to provide them as a core feature. https://github.com/rails/rails/pull/38105#discussion_r361863767 Hash.ruby2_keywords_hash?(hash) checks if hash is flagged or not. Hash.ruby2_keywords_hash(hash) returns a duplicated hash that has a ruby2_keywords flag, [Bug #16486]
Diffstat (limited to 'lib/webrick/httpservlet')
0 files changed, 0 insertions, 0 deletions