title: How to create an Object who act as a False in Ruby
body: <p>I want to do this</p>
  
  <pre><code>lol = Klass.new(values)
  
  unless lol 
     print "false"
  end
  
  lol.other_method  # it is not nil or false, it is a Klass instance!
  </code></pre>
  
  <p>But lol, in this case, is not nil or false, but an object who can act as a false based on some internal value. I have this alternative</p>
  
  <pre><code>lol = Klass.new(values)
  
  unless lol.to_bool
     print "false"
  end
  </code></pre>
  
  <p>But it is ugly IMHO.</p>
  
  <p>I was thinking in extend the FalseClass or play with == but without success. Any Ideas?</p>