From: Paul Smith Date: 2009-12-04T21:34:31+09:00 Subject: Re: increment/decrement On Fri, Dec 4, 2009 at 12:22 PM, Teodor Carstea wrote: > what is Ruby's style of increment/decrement? > > I mean like in C++ > > someVar++ > or someVar-- someVar += 1 Or, more likely, work out why you don't really need to increment and use something else (hint, if you're incrementing an array index, you're probably doing it wrong) > -- > Posted via http://www.ruby-forum.com/. > > -- Paul Smith http://www.nomadicfun.co.uk paul@pollyandpaul.co.uk