Skip to content
New issue

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

New style rule - complain if a private_attr* follows the private keyword #26

Open
jhan217 opened this issue Jan 15, 2018 · 0 comments
Open

Comments

@jhan217
Copy link

jhan217 commented Jan 15, 2018

The cop should not allow the following:

private

private_attr_reader :assignment, :manager, :padding

The resolution should be to move the private_attr_reader to the top of the file, right underneath the class, e.g. https://github.com/ezcater/ezcater-delivery/pull/163/commits/d2d08b2b7ae121e082d2f015bfcbae6161652e17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant