On Thu, Mar 3, 2011 at 1:03 AM, Adam Prescott <mentionuse / gmail.com> wrote:

> Dir.entries(dir)[2..-1].reject { |e| e == ".svn" }
>

And of course I forgot the .sort :)

Dir.entries(dir).sort[2..-1].reject { |e| e == ".svn" }