I wanted to try William Wake’s refactoring challenge (look for the More Resources section at bottom-right). But I wanted to get away from Java for a while, so I’ve translated the challenge into Ruby. Download it
here and have a go. I’ll post my refactored version, with a commentary, when I get the time to work on it.
This version is a really bad translation from Java to Ruby. I’ve done another that is much closer to the spirit of the original, and so acts as a much better starting point for the challenge. Jump here to download it.