Interesting topics about arrays.

Creation

Array literals

%i symbols - create an array of symbols
%w strings - create an array of strings
    %i( symbol1 symbol2 symbol3 )   # => [ :symbol1, :symbol2, :symbol3 ]
    %i{ symbol1 symbol2 symbol3 }   # => [ :symbol1, :symbol2, :symbol3 ]
    %w( string1 string2 string3 )   # => [ "string1", "string2", "string3" ]
  %w{ s1 s2 s3 s4\ with\ blanks }   # => [ "s1", "s2", "s3", "s4 with blanks" ]