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
define_method
Metrics/MethodLength cop works for define_method content, because block length is equal to defining method length.
Metrics/MethodLength
Metrics/MethodLength cop doesn't work for define_method content.
Write define_method with block where is more than 10 LOC.
$ rubocop -V 0.49.1 (using Parser 2.4.0.0, running on ruby 2.4.1 x86_64-linux)
The text was updated successfully, but these errors were encountered:
e21d0ed
No branches or pull requests
Expected behavior
Metrics/MethodLength
cop works fordefine_method
content, because block length is equal to defining method length.Actual behavior
Metrics/MethodLength
cop doesn't work fordefine_method
content.Steps to reproduce the problem
Write
define_method
with block where is more than 10 LOC.RuboCop version
The text was updated successfully, but these errors were encountered: