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