MonkeeSage
12/16/2007 1:26:00 PM
On Dec 16, 4:27 am, Sebastian Hungerecker <sep...@googlemail.com>
wrote:
> MonkeeSage wrote:
> > Also, again != "y" || "n" evaluates to ((again != "y") == true) ||
> > ("n" == true)
>
> Not quite.
> "n" == true would always be false while "n" will always be true.
>
> --
> Jabber: sep...@jabber.org
> ICQ: 205544826
Yeah, I was just trying to give an idea of how it's evaluated, not
give interchangeable ruby code (that's why I said a little after
'...since "a" is not nil/false is evaluates as true...'). But thank
you for clarifying; I wasn't being very clear there.
Regards,
Jordan