Class: Thumblemonks::Indico::TextDocument

Inherits:
ExtractedDocument show all
Defined in:
lib/thumblemonks/indico/text_extractor/handlers/text_document.rb

Instance Attribute Summary

Attributes inherited from ExtractedDocument

#content

Instance Method Summary collapse

Methods inherited from ExtractedDocument

#extract_text, #initialize

Constructor Details

This class inherits a constructor from Thumblemonks::Indico::ExtractedDocument

Instance Method Details

#extract_text!Object

Plain text extractor really just passes through. TODO - make it convert the text to UTF-8?



7
8
9
# File 'lib/thumblemonks/indico/text_extractor/handlers/text_document.rb', line 7

def extract_text!
  content.dup
end