Mega Code Archive

 
Categories / Ruby / Array
 

Array Addition and Concatenation

x = [1, 2, 3] y = ["a", "b", "c"] z = x + y puts z.inspect