Now supports using a Proc for :threshold argument, similar to how the :key argument works
Updated README with example of using Proc based :threshold
Merge pull request #4 from kdayton-/master

Proc based threshold