Skip to content
New issue

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

Respect default values in block parameters #66

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Respect default values in block parameters #66

merged 2 commits into from
Feb 9, 2024

Conversation

nobu
Copy link
Member

@nobu nobu commented Feb 9, 2024

Fix #55

Rake uses [lambda] as callbacks.
Calling it without omitted argument raises an `ArgumentError`.

lambda: https://github.com/ruby/rake/blob/master/lib/rake/application.rb#L543
@nobu nobu merged commit 213cb03 into master Feb 9, 2024
68 checks passed
@nobu nobu deleted the default_value branch February 9, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add optional positional parameter
1 participant