class SimpleTextExtract::FormatExtractor::Base

Attributes

file[R]

Public Class Methods

new(file) click to toggle source
# File lib/simple_text_extract/format_extractor/base.rb, line 10
def initialize(file)
  @file = file
end

Public Instance Methods

extract() click to toggle source
# File lib/simple_text_extract/format_extractor/base.rb, line 14
def extract
end
missing_dependency?(command) click to toggle source
# File lib/simple_text_extract/format_extractor/base.rb, line 17
def missing_dependency?(command)
  dependency = `bash -c 'command -v #{command}'`
  dependency.nil? || dependency.empty?
end