Mega Code Archive
Categories
/
Ruby
/
Array
Use the at method
q1 = %w[ January February March ] q1.at(0) # => January