Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby iterate over array

# For Ruby
arr = ['a', 'b', 'c']

arr.each do |item|
  puts item
end
 
PREVIOUS NEXT
Tagged: #ruby #iterate #array
ADD COMMENT
Topic
Name
1+8 =