Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

infinite loop ruby

loop do
  puts Time.now
  sleep(5)        # 5 second sleep 
end
 
PREVIOUS NEXT
Tagged: #infinite #loop #ruby
ADD COMMENT
Topic
Name
9+1 =