Project

General

Profile

Actions

Bug #1780

closed

Clarification of Array#sample documentation

Added by flori (Florian Frank) over 15 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux]
Backport:
[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


Files

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

Updated by matz (Yukihiro Matsumoto) over 15 years ago

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

=begin
Applied in changeset r24141.
=end

Actions

Also available in: Atom PDF

Like0
Like0