Class: ChupaText::Decomposers::OpenDocumentText
- Inherits:
-
OpenDocument
- Object
- ChupaText::Decomposer
- OpenDocument
- ChupaText::Decomposers::OpenDocumentText
- Defined in:
- lib/chupa-text/decomposers/opendocument-text.rb
Defined Under Namespace
Classes: TextListener
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ OpenDocumentText
constructor
A new instance of OpenDocumentText.
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(={}) super @extension = "odt" @mime_type = "application/vnd.oasis.opendocument.text" end |