[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Syntax sugar idea for loops

Berger, Daniel

3/30/2005 8:45:00 PM

> -----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...

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



1 Answer

Bertram Scharpf

3/31/2005 5:11:00 AM

0

Hi,

Am Donnerstag, 31. Mär 2005, 05:44:45 +0900 schrieb Berger, Daniel:
> > From: Bertram Scharpf [mailto:lists@bertram-scharpf.de]
> > Am Donnerstag, 31. Mär 2005, 04:41:43 +0900 schrieb Berger, Daniel:
> > > > 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...
>
> 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.

Both.
>
> > 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?

The latter. I still am.

Bertram


--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-...