ruby loop using integer
# Using a loop with an integer in Ruby
# Define the integer variable
number = 5
# Start a loop that will run 'number' times
number.times do |i|
# Print the current value of the loop variable
puts "Current value is: #{i}"
end