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 #588 from kostya/detect
enumerable#detect more tags
- Loading branch information
Showing
with
2 additions
and 10 deletions.
@@ -1,6 +1,2 @@ | ||
fails:Enumerable#detect returns the value of the ifnone proc if the block is false | ||
fails:Enumerable#detect calls the ifnone proc only once when the block is false | ||
fails:Enumerable#detect calls the ifnone proc when there are no elements | ||
fails:Enumerable#detect passes through the values yielded by #each_with_index | ||
fails:Enumerable#detect passes the ifnone proc to the enumerator | ||
fails:Enumerable#detect gathers whole arrays as elements when each yields multiple |
@@ -1,6 +1,2 @@ | ||
fails:Enumerable#find returns the value of the ifnone proc if the block is false | ||
fails:Enumerable#find calls the ifnone proc only once when the block is false | ||
fails:Enumerable#find calls the ifnone proc when there are no elements | ||
fails:Enumerable#find passes through the values yielded by #each_with_index | ||
fails:Enumerable#find passes the ifnone proc to the enumerator | ||
fails:Enumerable#find gathers whole arrays as elements when each yields multiple |