summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-07 11:07:31 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-07 11:07:31 +0000
commit45d7c84f2a6193ac595145ff2f66716004e1635b (patch)
tree87974a6c5ce764b542b2884d08713b23ee787bf2 /array.c
parenta3cfd3233e6b3a98e6b47a40e3ff09c5de18f1a5 (diff)
fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 1f6140d265..e33c7bc0b1 100644
--- a/array.c
+++ b/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.
*