Try Dir and File:

  my_dir = Dir["C:/workspaces/Source/**/*.rb"]   # collect all the
ruby files recursively
  my_dir.each do |filename|
    puts filename
    File.open(filename, "r") do |f|
      puts f
    end
  end

Here's a good place to start:

http://ruby-doc.org/docs/ProgrammingRuby/

Look for Dir and File.

-Tom

On 3/1/06, misiek <michaelaugustyniak / gazeta.pl> wrote:
> I can not find nothing about files in google,
> how to create delete, how to show all files from a folder
>
> if you can redirect me to some web site I'd appreciate
> thanks
>
>