[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: Need a ruby approach

Michael Campbell

9/9/2003 7:34:00 PM

--- Robert Klemme <bob.news@gmx.net> wrote:
>
> "Joe Cheng" <code@joecheng.com> schrieb im Newsbeitrag
> news:25l7b.1267$c35.358@newsread1.news.atl.earthlink.net...
> > > ( @test_classes ||=[] ) << cl
> >
> > Cool trick, Robert... I hadn't seen that one...
>
> Thanks! In fact it is quite common among ruby sources - at least
> it seemed so to me.

It's an old perl idiom too; that's the first place I'd seen it. Neat
trick, indeed.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder...