Gus Fring's polling machine written in Ruby