On Wed, Oct 29, 2003 at 05:36:01AM +0900, 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. I searched through PickAxe and > couldn't find a mention of xor. Neither Ruby in a Nutshell mentions one. However I made a quick tests and it seems it is safe to use ^ for integers. Dalibor -- Dalibor Sramek http://www.insula.cz/dali | In the eyes of cats, dalibor.sramek / insula.cz | all things belong to cats.