DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
setp in ruby loop
(
0.
.
array
.
length
-
1
)
.
step
(
2
)
.
each
do
|
index
|
value_you_care_about
=
array
[
index
]
end
PREVIOUS
NEXT
Tagged:
#setp
#ruby
#loop
ADD COMMENT
Topic
COMMENT
Name
4+5 =
Submit