From: Mark Van Holstyn Date: 2006-11-29T05:33:17+09:00 Subject: Re: Overloading prefix operators... ------=_Part_20824_6603119.1164745993844 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline def -@ #do stuff here end On 11/28/06, Just Another Victim of the Ambient Morality < ihatespam@hotmail.com> wrote: > > Okay, so "operator overloading" is wonderfully trivial and natural in > Ruby but it just occured to me that I have no idea how to change the > behaviour of prefix operators like negate, "-x", where x is an object... > How does one do this? > Thank you... > > > > > -- Mark Van Holstyn mvanholstyn@gmail.com http://lotswholetime.com ------=_Part_20824_6603119.1164745993844--