Class: DocxGenerator::Word::Paragraph

Inherits:
Element
  • Object
show all
Defined in:
lib/docx_generator/word/base.rb

Instance Method Summary collapse

Methods inherited from Element

#add, #generate

Constructor Details

#initialize(attributes = {}, content = []) ⇒ Paragraph

Returns a new instance of Paragraph.



16
17
18
# File 'lib/docx_generator/word/base.rb', line 16

def initialize(attributes = {}, content = [])
  super("w:p", attributes, content)
end