summaryrefslogtreecommitdiffstats
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
commit020538c618d789b4e35e1c5e38714b56d0ea0a19 (patch)
tree87974a6c5ce764b542b2884d08713b23ee787bf2 /array.c
parentf745a977b42c709901619886c150ab89956c4b67 (diff)
downloadruby-020538c618d789b4e35e1c5e38714b56d0ea0a19.tar.gz
ruby-020538c618d789b4e35e1c5e38714b56d0ea0a19.tar.xz
ruby-020538c618d789b4e35e1c5e38714b56d0ea0a19.zip
fix a typo.
git-svn-id: http://svn.ruby-lang.org/repos/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 1f6140d26..e33c7bc0b 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.
*