Class: RubyDocx::Htmls::HtmlParagraph
- Inherits:
-
Object
- Object
- RubyDocx::Htmls::HtmlParagraph
- Defined in:
- lib/ruby_docx/htmls/html_paragraph.rb
Instance Method Summary collapse
Instance Method Details
#to_xml ⇒ Object
4 5 6 |
# File 'lib/ruby_docx/htmls/html_paragraph.rb', line 4 def to_xml "<w:p>#{self.elements.map(&:to_xml).join}</w:p>" end |