エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Feature #13045: Passing a Hash with String keys as keyword arguments - Ruby master - Ruby Issue Tracking System
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Feature #13045: Passing a Hash with String keys as keyword arguments - Ruby master - Ruby Issue Tracking System
To the following method def new request:, response: end I'd like to be able to pass both hash_wit... To the following method def new request:, response: end I'd like to be able to pass both hash_with_symbol_keys = { request: another_hash, response: another_hash2 } hash_with_string_keys = { 'request' => another_hash, 'response' => another_hash2 } I would make a lot cleaner parsing many things returned with string keys(like the output of YAML.load). If you don't like the above feature, could you pl