Closed jhottenstein closed 3 years ago
Alternate solution for #234
I think #235 is also a great solution and happy for that to be used instead.
Per https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/, this method should offer support back to Ruby 2.0. This was the method used for rspec which requires ruby support back to 1.8
Merged in https://github.com/brandonhilkert/sucker_punch/pull/235. Thanks for offering an alternative solution.
This is the correct way, nice PR :)
Thanks for the quick fix! :)
Alternate solution for #234
I think #235 is also a great solution and happy for that to be used instead.
Per https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/, this method should offer support back to Ruby 2.0. This was the method used for rspec which requires ruby support back to 1.8