why would I use .each in ruby code example Example: ruby each do method numbers = [1,2,4,9,12] numbers.each do |n| break if n > 10 puts n end