Assignment: create simple public library model in object-oriented Ruby