On 15.08.2006 18:22, Pavel Smerk wrote:
>     Hello,
> 
> #{subj} --- not only (False|True|Nil)Class#^, but some general one, like 
> the and and or are. May be also ^^ with higher precedence.

What semantic do you expect that operator to have?  If you want it for 
boolean XOR you can do

 >> class Object
 >> def ^(x) self && !x or !self && x end
 >> end
=> nil
 >> "roo" ^ false
=> true
 >> "roo" ^ true
=> false
 >>

Fixnum still works

 >> 1 ^ 2
=> 3

Kind regards

	robert