method
concat
v1_8_7_330 -
Show latest stable
- Class:
Array
concat(p1)public
Appends the elements in other_array to self.
[ "a", "b" ].concat( ["c", "d"] ) #=> [ "a", "b", "c", "d" ]
concat(p1)Appends the elements in other_array to self.
[ "a", "b" ].concat( ["c", "d"] ) #=> [ "a", "b", "c", "d" ]