Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #590 from kostya/enum_eachs
enumerable#each_cons, each_slice
- Loading branch information
Showing
with
33 additions
and 12 deletions.
@@ -1,7 +1 @@ | ||
fails:Enumerable#each_cons passes element groups to the block | ||
fails:Enumerable#each_cons raises an Argument Error if there is not a single parameter > 0 | ||
fails:Enumerable#each_cons tries to convert n to an Integer using #to_int | ||
fails:Enumerable#each_cons works when n is >= full length | ||
fails:Enumerable#each_cons yields only as much as needed | ||
fails:Enumerable#each_cons returns an enumerator if no block | ||
fails:Enumerable#each_cons gathers whole arrays as elements when each yields multiple |
@@ -1,7 +1 @@ | ||
fails:Enumerable#each_slice passes element groups to the block | ||
fails:Enumerable#each_slice raises an Argument Error if there is not a single parameter > 0 | ||
fails:Enumerable#each_slice tries to convert n to an Integer using #to_int | ||
fails:Enumerable#each_slice works when n is >= full length | ||
fails:Enumerable#each_slice yields only as much as needed | ||
fails:Enumerable#each_slice returns an enumerator if no block | ||
fails:Enumerable#each_slice gathers whole arrays as elements when each yields multiple |