title: Ruby: Boolean attribute naming convention and use
body: <p>Learning ruby. I'm under the impression that boolean attributes should be named as follows:</p>
  
  <pre><code>my_boolean_attribute?
  </code></pre>
  
  <p>However, I get syntax errors when attempting to do the following:</p>
  
  <pre><code>class MyClass
    attr_accessor :my_boolean_attribute?
  
    def initialize
      :my_boolean_attribute? = false
    end
  end
  </code></pre>
  
  <p>Apparently ruby is hating the "?". Is this the convention? What am I doing wrong?</p>