Following a personal project I’m doing involving processes running over weeks, I stumbled upon some code that allows you to run a block of code in a separate thread in Ruby, every n seconds.
This works great, as expected, and Ruby made my day :-)
Following a personal project I’m doing involving processes running over weeks, I stumbled upon some code that allows you to run a block of code in a separate thread in Ruby, every n seconds.
This works great, as expected, and Ruby made my day :-)