Fix doc typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0a4fc3d71b
commit
9146c954ff
3
array.c
3
array.c
|
@ -779,7 +779,7 @@ rb_ary_last(argc, argv, ary)
|
||||||
* lies outside the array, the first form throws an
|
* lies outside the array, the first form throws an
|
||||||
* <code>IndexError</code> exception, the second form returns
|
* <code>IndexError</code> exception, the second form returns
|
||||||
* <i>default</i>, and the third form returns the value of invoking
|
* <i>default</i>, and the third form returns the value of invoking
|
||||||
* the block, passing in the index. Negative values of <i>idex</i>
|
* the block, passing in the index. Negative values of <i>index</i>
|
||||||
* count from the end of the array.
|
* count from the end of the array.
|
||||||
*
|
*
|
||||||
* a = [ 11, 22, 33, 44 ]
|
* a = [ 11, 22, 33, 44 ]
|
||||||
|
@ -2255,6 +2255,7 @@ rb_ary_plus(x, y)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
* call-seq:
|
||||||
* self.concat(other_array) => array
|
* self.concat(other_array) => array
|
||||||
*
|
*
|
||||||
* Appends the elements in other_array to _self_.
|
* Appends the elements in other_array to _self_.
|
||||||
|
|
Loading…
Reference in New Issue