You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Expected behavior
Naming/MethodName should flag
attr_reader
,attr_writer
, andattr_accessor
for incorrect case.Actual behavior
Only methods defined with explicit
def
statements are flagged.Steps to reproduce the problem
Given the following code:
The
Naming/MethodName
cop should flag all five declarations --fooBar
,barBaz
,bazQux
,quxCorge
, andquxCorge=
Instead, only the explicit
def quxCorge
anddef quxCorge=
are flagged:RuboCop version
Include the output of
rubocop -V
orbundle exec rubocop -V
if using Bundler. Here's an example:The text was updated successfully, but these errors were encountered: