Method: RubyXL::Workbook#content_type
- Defined in:
- lib/rubyXL/objects/workbook.rb
permalink #content_type ⇒ Object
[View source]
313 314 315 316 317 318 |
# File 'lib/rubyXL/objects/workbook.rb', line 313 def content_type content_type_name = 'CONTENT_TYPE' content_type_name << '_TEMPLATE' if is_template content_type_name << '_WITH_MACROS' if macros self.class.const_get(content_type_name) end |