codeclimate/codeclimate-rubocop

View on GitHub
config/contents/style/attr.md

Summary

Maintainability
Test Coverage
This cop checks for uses of Module#attr.

### Example:
    # bad - creates a single attribute accessor (deprecated in Ruby 1.9)
    attr :something, true
    attr :one, :two, :three # behaves as attr_reader

    # good
    attr_accessor :something
    attr_reader :one, :two, :three