mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7c3a00a1fe
commit
32e79b64ea
1 changed files with 1 additions and 1 deletions
2
array.c
2
array.c
|
@ -3955,7 +3955,7 @@ rb_ary_shuffle(int argc, VALUE *argv, VALUE ary)
|
|||
* If +rng+ is given, it will be used as the random number generator.
|
||||
*
|
||||
* a = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]
|
||||
* a.sample #=> [7]
|
||||
* a.sample #=> 7
|
||||
* a.sample(4) #=> [6, 4, 2, 5]
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue