title: How can Ruby's attr_accessor produce class variables or class instance variables instead of instance variables?
body: <p>If I have a class with an <code>attr_accessor</code>, it defaults to creating an instance variable along with the corresponding getters and setters. But instead of creating an instance variable, is there a way to get it to create a class variable or a class instance variable instead?</p>