diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-31 06:43:32 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-31 06:43:32 +0000 |
commit | 5088b14db79eb112f55ea983c45e3724ab9251d4 (patch) | |
tree | 7ebffca7ebb8051af0d9cc1c5adbada1089baba3 /array.c | |
parent | e21907e0f89e9d4870d1b533364cbc79dd9b6d89 (diff) | |
download | ruby-5088b14db79eb112f55ea983c45e3724ab9251d4.tar.gz |
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2819,7 +2819,7 @@ flatten(VALUE ary, int level, int *modified) * Flattens _self_ in place. * Returns <code>nil</code> if no modifications were made (i.e., * <i>array</i> contains no subarrays.) If the optional <i>level</i> - * argument determins the level of recursion to flatten. + * argument determines the level of recursion to flatten. * * a = [ 1, 2, [3, [4, 5] ] ] * a.flatten! #=> [1, 2, 3, 4, 5] @@ -2854,7 +2854,7 @@ rb_ary_flatten_bang(int argc, VALUE *argv, VALUE ary) * Returns a new array that is a one-dimensional flattening of this * array (recursively). That is, for every element that is an array, * extract its elements into the new array. If the optional - * <i>level</i> argument determins the level of recursion to flatten. + * <i>level</i> argument determines the level of recursion to flatten. * * s = [ 1, 2, 3 ] #=> [1, 2, 3] * t = [ 4, 5, 6, [7, 8] ] #=> [4, 5, 6, [7, 8]] |