BitBalloon/bitballoon-ruby — pull request #4 by ahoward (2014-02-11 15:13:03+00:00)
Title: do not load all files into memory at once

Dir[...] should *never* be used in real code as it loads everything into memory at once. the block form of Dir.glob(&block) loads one at the time.