We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Similar to #9015 / #9016, empty procs (e.g. Proc.new {} or proc {}) are also useful as callable placeholders when the callable may receive arguments.
Proc.new {}
proc {}
Originally posted by @gPrado in #9015 (comment)
The text was updated successfully, but these errors were encountered:
[Fix rubocop#9770] Update Lint/EmptyBlock to handle procs the same …
82b67d6
…way as lambdas.
[Fix #9770] Update Lint/EmptyBlock to handle procs the same way as …
d1bd888
…lambdas.
dvandersluis
Successfully merging a pull request may close this issue.
Similar to #9015 / #9016, empty procs (e.g.
Proc.new {}
orproc {}
) are also useful as callable placeholders when the callable may receive arguments.Originally posted by @gPrado in #9015 (comment)
The text was updated successfully, but these errors were encountered: