Getting to know ruby's event machine