I’m trying to build a script that writes something every 2 minutes. This
is what I have so far, but I would like to make it so that I can pause
it, with a certain key, and make it continue with another key. When it
is unpaused it should keep track where it left off.
Any ideas how to do this?
40.times do |i|
puts “write something”