Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Book
- def initialize(title, author, publication_date, page_count, rating)
- @title = title
- @author = author
- @publication_year = publication_year
- @page_count = page_count
- @rating = rating
- end
- end
- Book.new(“Go Set A Watchman”, “Harper Lee”, 7/14/2015, 288, TBD)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement