class DocxGenerator::Word::Break
Represent the ‘w:br` element from Office Open XML specification. This class should not be used directly by the users of the library.
Public Class Methods
new(attributes = {})
click to toggle source
Create a new ‘w:br` XML element. @param attributes [Hash] The attributes of the XML element. Check the specification of the `w:br` element for the possible attributes.
Calls superclass method
DocxGenerator::Element::new
# File lib/docx_generator/word/base.rb, line 77 def initialize(attributes = {}) super("w:br", attributes) end