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 #516 from jstepien/array-shuffle
Array#shuffle without arguments
- Loading branch information
Showing
with
14 additions
and 5 deletions.
- +14 −0 lib-topaz/array.rb
- +0 −5 spec/tags/core/array/shuffle_tags.txt
@@ -1,8 +1,3 @@ | ||
fails:Array#shuffle returns the same values, in a usually different order | ||
fails:Array#shuffle is not destructive | ||
fails:Array#shuffle does not return subclass instances with Array subclass | ||
fails:Array#shuffle! returns the same values, in a usually different order | ||
fails:Array#shuffle! raises a RuntimeError on a frozen array | ||
fails:Array#shuffle attempts coercion via #to_hash | ||
fails:Array#shuffle uses default random generator | ||
fails:Array#shuffle uses given random generator |