Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Loop through files in a directory
Ben Johnson
5/4/2007 8:40:00 PM
I know this is a nub question, but the documentation on ruby is
terrible.
How do I loop through all of the files in a directory?
Thanks for your help.
--
Posted via
http://www.ruby-...
.
2 Answers
Jano Svitok
5/4/2007 8:48:00 PM
0
On 5/4/07, Ben Johnson <bjohnson@mediamanifest.com> wrote:
> I know this is a nub question, but the documentation on ruby is
> terrible.
>
> How do I loop through all of the files in a directory?
>
> Thanks for your help.
>
> --
> Posted via
http://www.ruby-...
.
Have a look at Find.find and Dir.each.
Ara.T.Howard
5/4/2007 9:51:00 PM
0
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Loop through files in a directory
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