Challenge
The challenge is to refactor the code, so it works. This task should not take longer than 2 hours.
- Step 0: Figure out what the hell this code is about.
- Step 1: Please write RSpec tests for the existing code.
- Step 2: Refactor and document the code, so you would be proud of it.
- Step 3: Submit it to us.