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
…shovel scope
This cop would register an offense on nested method definitions when the
inner definition was inside a "class shovel" scope, e.g.:
```
def foo
class << self
def bar; end
end
end
```
This change fixes that.
One false positive of Lint/NestedMethodDefinition was not covered by the fix for #4185:
Expected behavior
I expect RuboCop not do register an offense for nested
def
s like these.RuboCop version
Include the output of
rubocop -V
. Here's an example:The text was updated successfully, but these errors were encountered: