Skip to content

Clarify keyword arguments with **#12769

Merged
ykzts merged 1 commit intomastodon:masterfrom
zunda:ruby270-separate-keyword-args
Jan 10, 2020
Merged

Clarify keyword arguments with **#12769
ykzts merged 1 commit intomastodon:masterfrom
zunda:ruby270-separate-keyword-args

Conversation

@zunda
Copy link
Copy Markdown
Contributor

@zunda zunda commented Jan 6, 2020

This change is to suppress the warning below on on ruby-2.7.0:

warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

reference: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/

This change is to suppress the warning below on on ruby-2.7.0:

- warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
@ykzts ykzts merged commit 206dfd7 into mastodon:master Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants