String#each was removed in ruby 1.9