Remove warning, Enumerator.new without a blokc is deprecated

use Object#to_enum
Merge pull request #115 from sanemat/fix/warning-enum

Remove warning, Enumerator.new without a blokc is deprecated