Pattern: Use of attr Issue: - Description This rule checks for uses of attr. Use attr_reader and attr_accessor instead. Further Reading RuboCop - Style/Attr https://github.com/bbatsov/ruby-style-guide#attr