class Axlsx::Default
An default content part. These parts are automatically created by for you based on the content of your package.
Constants
- NODE_NAME
The serialization node name for this class
Attributes
Extension[R]
The extension of the content type. @return [String]
extension[R]
The extension of the content type. @return [String]
Public Instance Methods
extension=(v)
click to toggle source
Sets the file extension for this content type.
# File lib/axlsx/content_type/default.rb, line 16 def extension=(v) Axlsx::validate_string v; @extension = v end
Also aliased as: Extension=
to_xml_string(str ='')
click to toggle source
Serializes this object to xml
Calls superclass method
Axlsx::AbstractContentType#to_xml_string
# File lib/axlsx/content_type/default.rb, line 20 def to_xml_string(str ='') super(NODE_NAME, str) end