class Docxtor::Document::PageBreak

Public Instance Methods

render(xml) click to toggle source
Calls superclass method Docxtor::Document::Element#render
# File lib/docxtor/document/page_break.rb, line 4
def render(xml)
  super
  write_element(:p) do
    write_element(:r) do
      xml.w :br, 'w:type' => 'page'
    end
  end
end