Sha256: af537d97606c62ea5e3f924bbfee4f10dcc9ff7e46b109fdb8aa2494ff51ec0e
Contents?: true
Size: 251 Bytes
Versions: 2
Compression:
Stored size: 251 Bytes
Contents
# frozen_string_literal: true module SimpleTextExtract module FormatExtractor class Doc < Base def extract return nil if `command -v antiword`.empty? `antiword #{Shellwords.escape(file.path)}` end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_text_extract-0.1.1 | lib/simple_text_extract/format_extractor/doc.rb |
simple_text_extract-0.1.0 | lib/simple_text_extract/format_extractor/doc.rb |