Ruby Version of the tennis refactoring kata