class RubyDocx::Htmls::HtmlText

Public Instance Methods

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