Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Showing part of an array....
Rosina Bignall
7/22/2006 4:06:00 PM
Thanks, Axel
How about if you're using it on an array consisting of both an id and a
name so that
colors[0..2].collect{ |color| color.name }.join(', ')
Cheers,
Rosina
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Showing part of an array....
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password