From: Anthony DeRobertis Date: 2006-03-22T04:23:31+09:00 Subject: Re: Find.find and files in cwd rtilley wrote: > I can use Find.find(Pathname.getwd) to get an array of all file paths > recursively, but how do I get only the files in the cwd (do not > recurse into sub-directories)? Dir provides several ways to do this: http://www.ruby-doc.org/core/classes/Dir.html