Returns a new instance of Abstract.
6 7 8 9 10
# File 'lib/odf/element/abstract.rb', line 6 def initialize(parent, options = {}) @parent = parent @root = document.content.xml.create_element(xml_tag, fetch_options(options)) @parent.root.add_child(@root) end