The code contained in traffic_light.rb
is a simple model for a traffic light. How can we refactor this? Pretend we have tests so we're actually refactoring and not just changing shit.
Note anything about what you observe in this code and how it drives your refactoring.