Answers for "ruby while infinite"

0

infinite loop ruby

loop do
  puts Time.now
  sleep(5)        # 5 second sleep 
end
Posted by: Guest on July-17-2020
0

infinite loop in ruby

loop do
  puts "infinite"
end
Posted by: Guest on July-17-2020

Browse Popular Code Answers by Language