From: ChrisH Date: 2006-03-23T05:49:04+09:00 Subject: Re: Find.find and files in cwd This seems to have become an obsession! 9^) After looking at the docs on Pathname (http://ruby-doc.org/core/classes/Pathname.html), it seems this module wraps alot of the File related functionality. Thus we can more concisely say: require 'pathname' require 'pp' Pathname.getwd.children.each{ |f| pp f.to_s if f.file?} Cheers