diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-24 01:12:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-24 01:12:51 +0000 |
commit | 201380b5c4b22b08604acfbce2e51efdf4f87bc6 (patch) | |
tree | b01e7c826d2cd2e576085d900402e4a0a312bdb3 /rational.c | |
parent | 5309e9fe82a5249d2665b56de60ee2888347c4c7 (diff) | |
download | ruby-201380b5c4b22b08604acfbce2e51efdf4f87bc6.tar.gz |
Improve Array#sample with random documentation
* array.c (rb_ary_sample): Adds examples for the use of the
optional parameter random for Array#sample and unifies the style
with the documentation of Array#shuffle.
[Fix GH-1825]
From: Alberto Almagro <alberto.almagro@rakuten.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rational.c')
0 files changed, 0 insertions, 0 deletions