From: Phrogz Date: 2006-11-29T11:05:05+09:00 Subject: Re: Overloading prefix operators... Just Another Victim of the Ambient Morality 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... Look in the table here: http://phrogz.net/ProgrammingRuby/language.html#operatorexpressions