> Finally, you can also write :
>
> class God
>   def !@
>   end
> end
>
> The other unary operator that I know of (-), requires this @ character
> to distinguish from a.-(b), which is yet another operator. I find this
> to be more readable.
>
> Hope this helps

Thanks, zimbatm.

-Kedar

-- 
Posted via http://www.ruby-forum.com/.