title: What does attr mean in Ruby?
body: <p>In some code in Ruby 2.0, I saw something like:</p>
  
  <pre><code>attr :someattribute
  </code></pre>
  
  <p>Is attr the same as attr_reader, attr_writer, or attr_accessor? Is this only for Ruby 2.0?</p>