class OpenXml::DrawingML::Elements::Text

Attributes

text[RW]

Public Class Methods

new(text) click to toggle source
# File lib/openxml/drawingml/elements/text.rb, line 10
def initialize(text)
  self.text = text
end

Public Instance Methods

to_xml(xml) click to toggle source
# File lib/openxml/drawingml/elements/text.rb, line 14
def to_xml(xml)
  xml[namespace].public_send(tag, text, xml_attributes)
end