From: 7stud -- Date: 2009-08-25T20:17:00+09:00 Subject: Re: operators vs. methods Robert Klemme wrote: > 2009/8/25 Sarah Allen : >>> obj.x = 10 becomes obj.x=(10) �(where the method name is 'x=') >> >> So, where might I find a list of the special sugary methods? > > There is a list in the printed edition of the Pickaxe IIRC. > Ah, yes. p. 339 (pickaxe2). The ones with check marks preceding them in the operator table. In order of precedence(highest at the top): [] []= ** ! ~ + - (unary plus and minus, e.g. -1) * / % + - >> << & ^ | <= < > >= <=> == === != =~ !~ -- Posted via http://www.ruby-forum.com/.