Class: Thepub::Epub::NCX::DocTitle
- Inherits:
-
Struct
- Object
- Struct
- Thepub::Epub::NCX::DocTitle
- Defined in:
- lib/thepub/epub/ncx.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text
65 66 67 |
# File 'lib/thepub/epub/ncx.rb', line 65 def text @text end |
Instance Method Details
#to_xml(builder) ⇒ Object
69 70 71 72 73 |
# File 'lib/thepub/epub/ncx.rb', line 69 def to_xml(builder) builder.docTitle do builder.text self.text end end |