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 #498 from rlevick/enumerable#drop_while
Add Enumerable#drop_while
- Loading branch information
Showing
with
31 additions
and 13 deletions.
- +1 −0 AUTHORS.rst
- +2 −2 lib-topaz/array.rb
- +18 −6 lib-topaz/enumerable.rb
- +0 −5 spec/tags/core/enumerable/drop_while_tags.txt
- +10 −0 tests/modules/test_enumerable.py
@@ -1,7 +1,2 @@ | ||
fails:Enumerable#drop_while returns an Enumerator if no block given | ||
fails:Enumerable#drop_while returns no/all elements for {true/false} block | ||
fails:Enumerable#drop_while accepts returns other than true/false | ||
fails:Enumerable#drop_while passes elements to the block until the first false | ||
fails:Enumerable#drop_while will only go through what's needed | ||
fails:Enumerable#drop_while doesn't return self when it could | ||
fails:Enumerable#drop_while gathers whole arrays as elements when each yields multiple |