1
0
Fork 0
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:
akr 2008-09-07 11:07:31 +00:00
parent a3cfd3233e
commit 45d7c84f2a

View file

@ -3012,7 +3012,7 @@ rb_ary_shuffle(VALUE ary)
* array.sample -> obj * array.sample -> obj
* array.sample(n) -> an_array * 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 * If the array is empty, the first form returns <code>nil</code>, and the
* second form returns an empty array. * second form returns an empty array.
* *