Processing all files in a directory and its subdirectories ... revisited
1 2 Dir['**/*.jpg'].foreach do |filename| 3 ... do anything with the filename 4 end
13493 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
1 2 Dir['**/*.jpg'].foreach do |filename| 3 ... do anything with the filename 4 end
1 2 Dir['**/*.jpg'].foreach do |filename| 3 ... do anything with the filename 4 end