Project

General

Profile

Bug #1780

Clarification of Array#sample documentation

Added by Florian Frank almost 7 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
ruby -v:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux]
[ruby-core:24347]

Description

=begin
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.
=end

ruby-array-sample-docu.patch Magnifier (824 Bytes) Florian Frank, 07/15/2009 11:33 PM

History

#1 Updated by Yukihiro Matsumoto almost 7 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r24141.
=end

Also available in: Atom PDF