Class: EPUB::Publication::Package::Guide
- Inherits:
-
Object
- Object
- EPUB::Publication::Package::Guide
- Includes:
- Inspector::PublicationModel
- Defined in:
- lib/epub/publication/package/guide.rb
Defined Under Namespace
Classes: Reference
Instance Attribute Summary collapse
-
#package ⇒ Object
Returns the value of attribute package.
-
#references ⇒ Object
Returns the value of attribute references.
Instance Method Summary collapse
- #<<(reference) ⇒ Object
-
#initialize ⇒ Guide
constructor
A new instance of Guide.
Methods included from Inspector::PublicationModel
Constructor Details
Instance Attribute Details
#package ⇒ Object
Returns the value of attribute package.
6 7 8 |
# File 'lib/epub/publication/package/guide.rb', line 6 def package @package end |
#references ⇒ Object
Returns the value of attribute references.
6 7 8 |
# File 'lib/epub/publication/package/guide.rb', line 6 def references @references end |
Instance Method Details
#<<(reference) ⇒ Object
16 17 18 19 |
# File 'lib/epub/publication/package/guide.rb', line 16 def <<(reference) reference.guide = self references << reference end |