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:pelement.
Methods inherited from Element
Constructor Details
#initialize(attributes = {}, content = []) ⇒ Paragraph
Create a new w:p element.
28 29 30 |
# File 'lib/docx_generator/word/base.rb', line 28 def initialize(attributes = {}, content = []) super("w:p", attributes, content) end |