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