Ruby - Counter loop
Execute piece of code for a range of numbers.
Execute body for integers 0 to 10 including 0 and excluding 10.
Execute piece of code for a range of numbers.
Execute body for integers 0 to 10 including 0 and excluding 10.
for i in {{start}}..{{stop}}
{{body}}
end
last update: