Add method documentation for book.rb