title: Why does Ruby have TrueClass and FalseClass instead of a single Boolean class?
body: <p>I was working on serializing values when found out about this one. Ruby has a <a href="http://ruby-doc.org/core/classes/TrueClass.html" rel="noreferrer"><code>TrueClass</code></a> class, and a <a href="http://ruby-doc.org/core/classes/FalseClass.html" rel="noreferrer"><code>FalseClass</code></a> class, but it has no <code>Boolean</code> class. I'd like to know why is this.</p>
  
  <p>I see some advantages in using a <code>Boolean</code>; for example, string parsing could be centralized on it.</p>
  
  <p>Ruby developers are smarter than me, so there must be a lot of good reasons that I just don't see. But right now it looks to me like having <code>OneClass</code> and a <code>TwoClass</code> instead of <a href="http://ruby-doc.org/core/classes/Fixnum.html" rel="noreferrer"><code>Fixnum</code></a>.</p>