From: Florian Frank Date: 2009-07-15T23:33:21+09:00 Subject: [ruby-core:24347] [Bug #1780] Clarification of Array#sample documentation 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