Ruby, wie man durch ein Array schaufelt
array = [1, 2, 3, 4, 5, 6]
array.each { |x| puts x }
Calm Chimpanzee
array = [1, 2, 3, 4, 5, 6]
array.each { |x| puts x }
# For Ruby
arr = ['a', 'b', 'c']
arr.each { |item| puts item }