fix `each_slice` can't trigger
Merge pull request #117 from mygoare/patch-2

ruby: fix `each_slice` can't trigger