From: Todd Benson Date: 2008-05-15T03:12:16+09:00 Subject: Re: anding statements. On Wed, May 14, 2008 at 1:04 PM, Michael Linfield wrote: > Kyle Schmitt wrote: >> Mac, >> If your two arguments were methods however, and the first one >> succeeded, wouldn't you expect it to execute the second? >> >> On Wed, May 14, 2008 at 12:17 PM, Michael Linfield > > Alright I'm going to attempt to explain this without confusing you or > myself. > > Using '&' is basically comparing. It returns a value if not false. > > 1 & 2 #=> 0 > 2 & 2 #=> 2 No! & is bitwise operator for Fixnum. Todd