DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby loop through array from last item backwards
array = [1, 2, 3, 4, 5, 6] array.reverse_each { |x| puts x }
PREVIOUS
NEXT
Tagged:
#ruby
#loop
#array
#item
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit