class SimpleTextExtract::FormatExtractor::Doc

Public Instance Methods

extract() click to toggle source
# File lib/simple_text_extract/format_extractor/doc.rb, line 6
def extract
  return nil if missing_dependency?("antiword")

  `antiword #{Shellwords.escape(file.path)}`
end