Group: comp.lang.ruby
From: Adam Akhtar
Date: Sunday, February 10, 2008 11:34 AM
Subject: Re: Array Practice

Siep Korteling wrote:

>
> You want to flatten this array? Hey, it's just there. If you want to
> know how it works, find a cmd-prompt and type "ri Array.flatten" .
>
> Regards,
>
> Siep

hi siep thanks for the reply. Yeah i know theres already a method but i
thought it would be good practice to try and create my own function. Ill
take a look at how ruby flattens arrays with that command prompt call
you mentioned.

Thanks
adam.

--
Posted via http://www.ruby-forum.com/.

Safety Articles | Usenet Groups | Usenet News | Bluegrass