My child's favourite book in less than 100 lines of ruby