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)
  <<~XML
    <w:p>
      <w:pPr>
        <w:pBdr>
          <w:bottom w:color="auto" w:space="1" w:sz="6" w:val="single"/>
        </w:pBdr>
      </w:pPr>
    </w:p>
    <w:p/>
  XML
end