Last night I did the Yatzy refactoring kata in Ruby.
I mainly used it to practice with Enumerable functions.
This is the original code:
and this is the refactored one:
I committed after every small refactoring (the commits step by step).
You can find the code in this repository in GitHub.