Ruby Arrays

An array holds ordered values. each yields one value at a time to its block.

Ruby
scores = [82, 91, 76]
scores.each do |score|
  puts score
end
Read the full lesson