Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

iterate over array ruby

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

arr.each { |item| puts item }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #iterate #array #ruby
ADD COMMENT
Topic
Name
6+6 =