State Machines in Ruby | Hacker News Reader