The style guide says:

> Use the `attr` family of functions to define trivial accessors or mutators.

So make the error message closer to the original from the guide, but be more specific and issue a few different messages; one for `attr_reader`, one for `attr_writer`, and one for `attr_accessor`.