Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #575 from kostya/group_by
# enumerable#group_by
- Loading branch information
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
fails:Enumerable#group_by returns a hash with values grouped according to the block | ||
fails:Enumerable#group_by returns an empty hash for empty enumerables | ||
fails:Enumerable#group_by returns an Enumerator if called without a block | ||
fails:Enumerable#group_by gathers whole arrays as elements when each yields multiple |