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
…non-public methods
This change allows the cop to be configured to also apply to non-public methods
using:
```
RequireForNonPublicMethods: true
```
It also makes the cop highlight the entire method definition, rather than just
the `def` keyword.
…non-public methods (rubocop#3378)
This change allows the cop to be configured to also apply to non-public methods
using:
```
RequireForNonPublicMethods: true
```
It also makes the cop highlight the entire method definition, rather than just
the `def` keyword.
Expected behavior
The change in 723aa38 is very welcome, however in my case it only solves half of my issue.
The coding standard I work with mandates comments (YARDDOC) on all methods.
Can I propose a switch to 723aa38 which will allow the Cop to apply to methods of any visibility?
RuboCop version
Include the output of
rubocop -V
:My team uses a gem packaged from the current master branch. There's too much good stuff in there 👯
The text was updated successfully, but these errors were encountered: