Class: Hondana::Book
- Inherits:
-
Object
- Object
- Hondana::Book
- Defined in:
- lib/hondana.rb
Instance Attribute Summary collapse
-
#authors ⇒ Object
readonly
Returns the value of attribute authors.
-
#isbn ⇒ Object
readonly
Returns the value of attribute isbn.
-
#publisher ⇒ Object
readonly
Returns the value of attribute publisher.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(isbn) ⇒ Book
constructor
A new instance of Book.
Constructor Details
Instance Attribute Details
#authors ⇒ Object (readonly)
Returns the value of attribute authors.
39 40 41 |
# File 'lib/hondana.rb', line 39 def @authors end |
#isbn ⇒ Object (readonly)
Returns the value of attribute isbn.
38 39 40 |
# File 'lib/hondana.rb', line 38 def isbn @isbn end |
#publisher ⇒ Object (readonly)
Returns the value of attribute publisher.
40 41 42 |
# File 'lib/hondana.rb', line 40 def publisher @publisher end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
37 38 39 |
# File 'lib/hondana.rb', line 37 def title @title end |