Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate Positional and Keyword Arguments
In Ruby 3.0, positional arguments and keyword arguments were separated. In Ruby 3, a method delegating all arguments must explicitly delegate keyword arguments in addition to positional arguments. In most cases, we can avoid the incompatibility by adding the double splat operator. It explicitly specifies passing keyword arguments instead of a Hash object. https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
- Loading branch information