From: Lloyd Linklater Date: 2007-09-09T01:17:18+09:00 Subject: Re: #to_b - why isn't this one already in there? Robert Klemme wrote: > Like this one? > > class String > def to_b() self != "false" end > end Not bad but I am thinking that, with people saying that they want to have a wide assortment of what constitutes true, that they should make a list (array) of things which would evaluate to true and anything else would be false. But that is so individual that making it part of the language seems counter productive. -- Posted via http://www.ruby-forum.com/.