Class: DocxGenerator::Word::Body
- Defined in:
- lib/docx_generator/word/base.rb
Overview
Represent the ‘w:body` element from Office Open XML specification. This class should not be used directly by the users of the library.
Instance Method Summary collapse
-
#initialize(content = []) ⇒ Body
constructor
Create a new ‘w:body` XML element.
Methods inherited from Element
Constructor Details
#initialize(content = []) ⇒ Body
Create a new ‘w:body` XML element.
20 21 22 |
# File 'lib/docx_generator/word/base.rb', line 20 def initialize(content = []) super("w:body", {}, content) end |