Class: RubyXL::Extension
- Inherits:
-
RawOOXML
- Object
- OOXMLObject
- RawOOXML
- RubyXL::Extension
- Defined in:
- lib/rubyXL/objects/theme.rb,
lib/rubyXL/objects/extensions.rb
Overview
Instance Attribute Summary collapse
-
#raw_xml ⇒ Object
Returns the value of attribute raw_xml.
Class Method Summary collapse
Instance Method Summary collapse
Methods included from OOXMLObjectClassMethods
#define_attribute, #define_child_node, #define_element_name, #obtain_class_variable, #parse, #set_countable
Methods included from OOXMLObjectInstanceMethods
#before_write_xml, #dup, #index_in_collection, #initialize
Instance Attribute Details
#raw_xml ⇒ Object
Returns the value of attribute raw_xml.
10 11 12 |
# File 'lib/rubyXL/objects/theme.rb', line 10 def raw_xml @raw_xml end |
Class Method Details
.parse(node) ⇒ Object
12 13 14 15 16 |
# File 'lib/rubyXL/objects/theme.rb', line 12 def self.parse(node) obj = new obj.raw_xml = node.to_xml obj end |
Instance Method Details
#write_xml(xml, node_name_override = nil) ⇒ Object
18 19 20 |
# File 'lib/rubyXL/objects/theme.rb', line 18 def write_xml(xml, node_name_override = nil) self.raw_xml end |