Snippet: ls_r (recursively list and process directories)

Here’s a little Ruby function I came up with today. I thought it might be useful to other people, so here it is.

Think you can do better? Fork me and prove it! ;)