From: ts Date: 2003-01-30T18:25:41+09:00 Subject: Re: New to Ruby, would like a style critique - filedup.rb [0/1] >>>>> "I" == ILikeFood writes: I> I've just written my first Ruby application (all 135 lines of it) and I> being totally book educated, I would love for a more accomplished Ruby I> programmer just to look over and critique my work. Well, perhaps it's best if you use 'find.rb' which come with ruby, rather than your class FileList # Usage: # require "find" # # Find.find('/foo','/bar') {|f| ...} # or # include Find # find('/foo','/bar') {|f| ...} # `f' will give you the pathname : you just need to retrieve filename and path from it Guy Decoux