Class: Odf::Component::MimeType

Inherits:
Abstract
  • Object
show all
Defined in:
lib/odf/component/mime_type.rb

Constant Summary collapse

NAME =
'mimetype'.freeze

Instance Attribute Summary

Attributes inherited from Abstract

#document

Instance Method Summary collapse

Methods inherited from Abstract

#initialize, #inspect, #name

Constructor Details

This class inherits a constructor from Odf::Component::Abstract

Instance Method Details

#contentObject



6
7
8
# File 'lib/odf/component/mime_type.rb', line 6

def content
  document.media_type
end