Sample application used to apply the learnings from Chapter 9 of the Refactoring Ruby Edition book.
- Decompose conditional
- Recompose conditional
- Consolidate conditional expression
- Consolidate duplicate conditional fragments
- Remove control flag
- Replace nested conditional with guard clause
- Replace conditional with polymorphism
- Introduce Null object
- Introduce assertion