Using Ruby, how can I iterate over a for loop n.times
for-loop, ruby
Solution
3.times do
# do work here
end
check http://www.tutorialspoint.com/ruby/ruby_loops.htm
Problem
I have a basic ruby loop ``` for video in site.posts video.some_parameter endfor ``` I want to run this loop 2 or 3 times. Is this possible?