Class: ChupaText::Decomposers::OpenDocumentText

Inherits:
OpenDocument show all
Defined in:
lib/chupa-text/decomposers/opendocument-text.rb

Defined Under Namespace

Classes: TextListener

Instance Method Summary collapse

Methods inherited from OpenDocument

#decompose, #target?, #target_score

Methods inherited from ChupaText::Decomposer

#decompose, registry, #target?, #target_score

Constructor Details

#initialize(options = {}) ⇒ OpenDocumentText

Returns a new instance of OpenDocumentText.



24
25
26
27
28
# File 'lib/chupa-text/decomposers/opendocument-text.rb', line 24

def initialize(options={})
  super
  @extension = "odt"
  @mime_type = "application/vnd.oasis.opendocument.text"
end