Class: Repub::Epub::Toc::DocTitle
- Defined in:
- lib/repub/epub/toc.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
62 63 64 |
# File 'lib/repub/epub/toc.rb', line 62 def text @text end |
Instance Method Details
#to_xml(builder) ⇒ Object
66 67 68 69 70 |
# File 'lib/repub/epub/toc.rb', line 66 def to_xml(builder) builder.docTitle do builder.text self.text end end |