Class: DocXify::Element::Divider

Inherits:
Base
  • Object
show all
Defined in:
lib/docxify/element/divider.rb

Instance Method Summary collapse

Instance Method Details

#to_s(_container = nil) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/docxify/element/divider.rb', line 4

def to_s(_container = nil)
  "    <w:p>\n      <w:pPr>\n        <w:pBdr>\n          <w:bottom w:color=\"auto\" w:space=\"1\" w:sz=\"6\" w:val=\"single\"/>\n        </w:pBdr>\n      </w:pPr>\n    </w:p>\n    <w:p/>\n  XML\nend\n"