class RubyDocx::Htmls::HtmlParagraph

Public Instance Methods

to_xml() click to toggle source
# File lib/ruby_docx/htmls/html_paragraph.rb, line 4
def to_xml
  "<w:p>#{self.elements.map(&:to_xml).join}</w:p>"
end