There’s no place like ::1

Run a Code Block Periodically With Ruby

| Comments

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 :-)