# Object#to\_b

**URL:** <https://rubytalk.org/t/object-to-b/22542>\
**Category:** ruby-talk\
**Created:** [17 November 2005 00:50 UTC](https://rubytalk.org/t/object-to-b/22542 "2005-11-17T00:50:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Sheppard](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@Daniel\_Sheppard](https://rubytalk.org/u/Daniel_Sheppard)\
**Post date:** [17 November 2005 00:50 UTC](https://rubytalk.org/t/object-to-b/22542/1 "2005-11-17T00:50:39Z")

</div>

> Unless somebody can come up with a decent use-case, I'd say  
> that we just change the if evaluations to also allow  
> subclasses of FalseClass and NilClass (which will all be just  
> singletons as they don't have new). Or change if to look at  
> nil? to determine whether it's true or not.

That was meant to be "If somebody can..."

Unless, or course the use-cases present a stronger case for to\_b.

> **···**
>
> #####################################################################################  
> This email has been scanned by MailMarshal, an email content filter.  
> #####################################################################################
