Dir.entries(".").each do |file| puts file end
. .. test.rb
Dir.entries(".").delete_if do |file| file =~ /^\./ end.each do |file| puts file end
test.rb