Class: Docxer::Word::Styles
- Inherits:
-
Object
- Object
- Docxer::Word::Styles
- Defined in:
- lib/docxer/word/styles.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Styles
constructor
A new instance of Styles.
- #render(zip) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Styles
6 7 8 |
# File 'lib/docxer/word/styles.rb', line 6 def initialize(={}) = end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
5 6 7 |
# File 'lib/docxer/word/styles.rb', line 5 def end |
Instance Method Details
#render(zip) ⇒ Object
10 11 12 13 |
# File 'lib/docxer/word/styles.rb', line 10 def render(zip) zip.put_next_entry('word/styles.xml') zip.write(Docxer.to_xml(document)) end |