Fix Enumerator.new deprecation warning. Should work with 1.8.7+.
Merge pull request #3 from chewi/master

Fix Enumerator.new deprecation warning. Should work with 1.8.7+.