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
Constant Summary
Constants included from Inspector::PublicationModel
Inspector::PublicationModel::TEMPLATE
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.
8 9 10 |
# File 'lib/epub/publication/package/guide.rb', line 8 def package @package end |
#references ⇒ Object
Returns the value of attribute references.
8 9 10 |
# File 'lib/epub/publication/package/guide.rb', line 8 def references @references end |
Instance Method Details
#<<(reference) ⇒ Object
18 19 20 21 |
# File 'lib/epub/publication/package/guide.rb', line 18 def <<(reference) reference.guide = self references << reference end |