Arrays

Posted on September 18, 2006 in Ruby

To shortcut this:

a = ['apple', 'banana', 'peaches']

i use this construct:

a = %w{ apple banana peaches }