I think myArray[1] :)
On May 19, 2007, at 3:07 PM, Sébastien Grosjean - ZenCocoon wrote:
>
> Hi,
>
> Is their a way to grab the cell of an Array using only functions (like
> first, last, ...)
>
> For example, how to do myArray[2] without using [] ?
>
> myArray[0] can be grabbed with myArray.first but then ?
>
>
> I hope my question is clear enough, if not let me know ;-)
> --
> Sébastien Grosjean - ZenCocoon
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---