Class: RubyXL::RawOOXML

Inherits:
OOXMLObject show all
Defined in:
lib/rubyXL/objects/extensions.rb

Overview

Direct Known Subclasses

AlternateContent, Extension

Instance Attribute Summary collapse

Attributes included from OOXMLObjectInstanceMethods

#local_namespaces

Class Method Summary collapse

Instance Method Summary collapse

Methods included from OOXMLObjectInstanceMethods

#==, #before_write_xml, included, #index_in_collection, #init_child_nodes, #initialize

Instance Attribute Details

#raw_xml ⇒ Object

Returns the value of attribute raw_xml.



8
9
10
# File 'lib/rubyXL/objects/extensions.rb', line 8

def raw_xml
  @raw_xml
end

Class Method Details

.parse(node, ignore) ⇒ Object



10
11
12
13
14
# File 'lib/rubyXL/objects/extensions.rb', line 10

def self.parse(node, ignore)
  obj = new
  obj.raw_xml = node.to_xml
  obj
end

Instance Method Details

#write_xml(xml, node_name_override = nil) ⇒ Object



16
17
18
# File 'lib/rubyXL/objects/extensions.rb', line 16

def write_xml(xml, node_name_override = nil)
  self.raw_xml
end