A simple to-do list written and refactored with Ruby