Class: Textractor::Extractors::TextExtractor

Inherits:
Object
  • Object
show all
Defined in:
lib/textractor/extractors/text_extractor.rb

Instance Method Summary collapse

Instance Method Details

#text_from_path(path) ⇒ Object



5
6
7
# File 'lib/textractor/extractors/text_extractor.rb', line 5

def text_from_path(path)
  File.read(path)
end