mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a3cfd3233e
commit
45d7c84f2a
1 changed files with 1 additions and 1 deletions
2
array.c
2
array.c
|
@ -3012,7 +3012,7 @@ rb_ary_shuffle(VALUE ary)
|
|||
* array.sample -> obj
|
||||
* array.sample(n) -> an_array
|
||||
*
|
||||
* Choose a random element, or the random +n+ elements, fron the array.
|
||||
* Choose a random element, or the random +n+ elements, from the array.
|
||||
* If the array is empty, the first form returns <code>nil</code>, and the
|
||||
* second form returns an empty array.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue