Ruby Tutorial

Ruby Loops

Source: Bro Code

Loops

Loops let you repeat blocks of code efficiently.

RUBY
3.times { |i| puts i }
Try it Yourself
Run this RUBY example in your local environment or course sandbox.