code:
c = 0 items.each { |i| puts i.to_s # if c > 9 escape the each iteration early - and do not repeat c++ }
I