Daniel Carrera
10/28/2003 9:29:00 PM
Thanks everyone. Yeah, ^ seems to work.
On Tue, Oct 28, 2003 at 03:04:04PM -0600, Lyle Johnson wrote:
> Daniel Carrera wrote:
>
> >I'm trying to figure out what the boolean "xor" operator is in Ruby. I
> >thought it was "^^" but that doesn't work.
>
> It's just a single "^" character, e.g.
>
> six = 2 ^ 4
>
> Hope this helps,
>
> Lyle
--
Daniel Carrera | OpenPGP KeyID: 9AF77A88
PhD grad student. |
Mathematics Dept. | "To understand recursion, you must first
UMD, College Park | understand recursion".