We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class ExampleCommand prepend SimpleCommand def initialize(foo:) @foo = foo end def call @foo end end irb(main):010:0> ExampleCommand.call(foo: "bar") /usr/local/bundle/gems/simple_command-0.1.0/lib/simple_command.rb:9: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call (irb):3: warning: The called method `initialize' is defined here => #<ExampleCommand:0x0000560f7af7f988 @foo="bar", @called=true, @result="bar">
The issue is describe here: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
The warning is in 2.7 and will error in 3.0
The text was updated successfully, but these errors were encountered:
PR here: #28
Sorry, something went wrong.
No branches or pull requests
The issue is describe here: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
The warning is in 2.7 and will error in 3.0
The text was updated successfully, but these errors were encountered: