Class: SimpleTextExtract::FormatExtractor::PlainText

Inherits:
Base
  • Object
show all
Defined in:
lib/simple_text_extract/format_extractor/plain_text.rb

Instance Attribute Summary

Attributes inherited from Base

#file

Instance Method Summary collapse

Methods inherited from Base

#initialize, #missing_dependency?

Constructor Details

This class inherits a constructor from SimpleTextExtract::FormatExtractor::Base

Instance Method Details

#extractObject



6
7
8
# File 'lib/simple_text_extract/format_extractor/plain_text.rb', line 6

def extract
  file.read
end