class DocxGenerator::Word::Text

Represent the ‘w:t` 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:t` XML element. @param attributes [Hash] The attributes of the XML element. Check the specification of the `w:t` 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 68
def initialize(attributes = {}, content = [])
  super("w:t", attributes, content)
end