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

Support anonymous block arguments #471

Merged
merged 4 commits into from
Jan 29, 2025

Conversation

elliottt
Copy link
Contributor

Add support for handling method definitions and sends that use anonymous block arguments.

With this PR, the following input:

def foo(a, b, &)
  bar a, b, &
end

is formatted as the following:

def foo(a, b, &)
  bar(a, b, &)
end

@elliottt elliottt marked this pull request as ready for review January 25, 2025 00:48
@elliottt elliottt force-pushed the trevor/anon-block-args branch from 4bee4a2 to 7dec40a Compare January 28, 2025 22:29
@fables-tales fables-tales merged commit d23fbca into fables-tales:trunk Jan 29, 2025
7 checks passed
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.

None yet

2 participants