class Libis::Ingester::FileExistChecker

Protected Instance Methods

process(item) click to toggle source
# File lib/libis/ingester/tasks/file_exist_checker.rb, line 24
def process(item)
  raise ::Libis::WorkflowError, "File '#{item.filepath}' does not exist." unless
      File.exists?(item.fullpath) && File.readable?(item.fullpath)
end