From: "Parv G." Date: 2007-10-25T03:21:10+09:00 Subject: Re: string method that takes in a regex > > In Ruby nil is a boolean false, and anything other than nil or false > is a boolean true, so this effectively does return a boolean value. > I did not know this; this is very helpful. Thanks David and Rick. Parv -- Posted via http://www.ruby-forum.com/.