Class: Axlsx::Override
- Inherits:
-
AbstractContentType
- Object
- AbstractContentType
- Axlsx::Override
- Defined in:
- lib/axlsx/content_type/override.rb
Overview
An override content part. These parts are automatically created by for you based on the content of your package.
Constant Summary collapse
- NODE_NAME =
Serialization node name for this object
'Override'
Instance Attribute Summary collapse
-
#part_name ⇒ String
(also: #PartName)
The name and location of the part.
Attributes inherited from AbstractContentType
Instance Method Summary collapse
-
#to_xml_string(str = +'')) ⇒ Object
Serializes this object to xml.
Methods inherited from AbstractContentType
Methods included from OptionsParser
Constructor Details
This class inherits a constructor from Axlsx::AbstractContentType
Instance Attribute Details
#part_name ⇒ String Also known as: PartName
The name and location of the part.
11 12 13 |
# File 'lib/axlsx/content_type/override.rb', line 11 def part_name @part_name end |
Instance Method Details
#to_xml_string(str = +'')) ⇒ Object
Serializes this object to xml
22 23 24 |
# File 'lib/axlsx/content_type/override.rb', line 22 def to_xml_string(str = +'') super(NODE_NAME, str) end |