Closed johnwmcarneiro closed 2 years ago
Use double splat to convert explicitly the hash to keyword arguments.
This is necessary to keep the same behavior in Ruby 3.
https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
Thank you, but I took @schinery 's fix. I will credit you both.
Use double splat to convert explicitly the hash to keyword arguments.
This is necessary to keep the same behavior in Ruby 3.
https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/