Ruby/Array/concat
Материал из Wiki.crossplatform.ru
Версия от 18:00, 13 сентября 2010; ViGOur (Обсуждение | вклад)
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 )