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

Lint/EmptyBlock should not apply to empty procs #9770

Closed
gPrado opened this issue May 4, 2021 · 0 comments · Fixed by #9775
Closed

Lint/EmptyBlock should not apply to empty procs #9770

gPrado opened this issue May 4, 2021 · 0 comments · Fixed by #9775
Assignees

Comments

@gPrado
Copy link
Contributor

gPrado commented May 4, 2021

Similar to #9015 / #9016, empty procs (e.g. Proc.new {} or proc {}) are also useful as callable placeholders when the callable may receive arguments.

Originally posted by @gPrado in #9015 (comment)

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 a pull request may close this issue.

2 participants