Skip to content

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

@jhan217

Description

@jhan217

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions