Skip to content

Fix Ruby 2.5 incopatibility#10

Merged
nobu merged 2 commits into
ruby:masterfrom
LinkupStudioLtd:ruby-2.5-compatibility
Jan 19, 2021
Merged

Fix Ruby 2.5 incopatibility#10
nobu merged 2 commits into
ruby:masterfrom
LinkupStudioLtd:ruby-2.5-compatibility

Conversation

@flvrone

@flvrone flvrone commented Jan 19, 2021

Copy link
Copy Markdown
Contributor

Resolves #9

We don't really need that second optional argument, as its default value is just what we need, here:
https://ruby-doc.org/core-2.7.2/Module.html#method-i-private_method_defined-3F

We don't really need that second optional argument, 
as its default value is just what we need
https://ruby-doc.org/core-2.7.2/Module.html#method-i-private_method_defined-3F
@doudou

doudou commented Jan 19, 2021

Copy link
Copy Markdown

Thanks !

A suggestion: add 2.5 to the CI at the same time, to avoid a repeat.

@nobu nobu merged commit 956156b into ruby:master Jan 19, 2021
@benlangfeld

Copy link
Copy Markdown

@nobu Thanks for merging. Do you plan to release this soon?

@benlangfeld

Copy link
Copy Markdown

0.0.4 was released.

@eregon

eregon commented Jan 19, 2021

Copy link
Copy Markdown
Member

Related discussion: #8 (comment)

@doudou

doudou commented Jan 19, 2021

Copy link
Copy Markdown

That was ... incredibly fast.

Thanks a lot.

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.

`private_method_defined?': wrong number of arguments (given 2, expected 1) in ruby2_keywords.rb

5 participants