As with +, you can concatenate one array onto another with concat : concat « Array « Ruby






As with +, you can concatenate one array onto another with concat


q1 = %w[ January February March ]
q2 = %w[ April May June ]
q3 = %w[ July August September ]
q4 = %w[ October November December ]

last_part = q3.concat( q4 )

 








Related examples in the same category