Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Book
- attr_accessor :price, :author, :published_date, :title
- def checkout
- p "your purchase today of : "
- p title + ", will appear "
- p "as a charge by google checkout"
- p "of on your debit card of "+price.to_s
- end
- end
Add Comment
Please, Sign In to add comment