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 /hash.c | |
parent | e21907e0f89e9d4870d1b533364cbc79dd9b6d89 (diff) |
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1536,7 +1536,7 @@ rb_hash_update_block_i(VALUE key, VALUE value, VALUE hash) * Adds the contents of <i>other_hash</i> to <i>hsh</i>. If no * block is specified entries with duplicate keys are overwritten * with the values from <i>other_hash</i>, otherwise the value - * of each duplicate key is detemined by calling the block with + * of each duplicate key is determined by calling the block with * the key, its value in <i>hsh</i> and its value in <i>other_hash</i>. * * h1 = { "a" => 100, "b" => 200 } @@ -1661,7 +1661,7 @@ rb_hash_rassoc(VALUE hash, VALUE obj) * hash. That is, for every key or value that is an array, extract * its elements into the new array. Unlike Array#flatten, this * method does not flatten recursively by default. 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. * * a = {1=> "one", 2 => [2,"two"], 3 => "three"} * a.flatten # => [1, "one", 2, [2, "two"], 3, "three"] |