Bug #1780: Clarification of Array#sample documentation
http://redmine.ruby-lang.org/issues/show/1780

Author: Florian Frank
Status: Open, Priority: Normal
Category: DOC, Target version: 1.9.x
ruby -v: ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux]

I tried to add a description of the sample algorithm when called with an argument n > 1 to make clear that the chosen elements are sampled by using unique random indices not (possibly) repeating random indices.


----------------------------------------
http://redmine.ruby-lang.org