From: Tim Hunter Date: 2008-10-06T06:51:35+09:00 Subject: Re: Unary operator stephan.zimmer wrote: > Hi all, > > here is a novice's question: I am wondering how to equip a class with > a unary operator. Defining a method "-" like this The method name for unary - is -@, and the method name for unary + is +@. -- RMagick: http://rmagick.rubyforge.org/