From: "Berger, Daniel" Date: 2005-03-31T05:44:45+09:00 Subject: Re: Syntax sugar idea for loops > -----Original Message----- > From: Bertram Scharpf [mailto:lists@bertram-scharpf.de] > Sent: Wednesday, March 30, 2005 1:33 PM > To: ruby-talk ML > Subject: Re: Syntax sugar idea for loops > > > Hi, > > Am Donnerstag, 31. M�r 2005, 04:41:43 +0900 schrieb Berger, Daniel: > > > > > -----Original Message----- > > > From: Eric Hodel [mailto:drbrain@segment7.net] > > > > > > row_class = i.even? ? "row1" : "row2" > > > > > > How about that? > > > > That'll work, too. :) > > No, it won't. Therefore I proposed my even/odd patch at > > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/4512 Well, I was assuming that he added the method himself. :) > Your answer 4513 seems not to be accessible at the archive. > I remember you preferred the Ruby solution rather than the C issue. It appears that it's actually 4515. Not sure what happened to 4513 and 4514. Weird. > I still hope this feature once will be applied. Were you going to create a rubyforge project? Or were you hoping for a core modification? Dan