module TikaWrapper

Constants

VERSION

Public Class Methods

default_instance(options = {}) click to toggle source
# File lib/tika_wrapper.rb, line 9
def self.default_instance(options = {})
  @default_instance ||= TikaWrapper::Instance.new options
end
default_tika_version() click to toggle source
# File lib/tika_wrapper.rb, line 5
def self.default_tika_version
  "1.8"
end
wrap(options = {}, &block) click to toggle source

Ensures a tika service is running before executing the block

# File lib/tika_wrapper.rb, line 15
def self.wrap(options = {}, &block)
  default_instance(options).wrap(&block)
end