DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+1 =
Submit