This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THE TRAGEDY OF HAMLET, PRINCE OF DENMARK | |
by William Shakespeare | |
Dramatis Personae | |
Claudius, King of Denmark. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Book | |
attr_accessor :title, :author, :category | |
def initialize title, author, category | |
@title = title | |
@author = author | |
@category = category | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Book | |
attr_accessor :title, :author, :category | |
def initialize title, author, category | |
@title = title | |
@author = author | |
@category = category | |
end | |
end |