Sha256: 3c1825ee1f4e34503fa70b107a21c6960863361f62e49af0d3d53c2a2cc9b7c1

Contents?: true

Size: 208 Bytes

Versions: 1

Compression:

Stored size: 208 Bytes

Contents

# encoding: utf-8
module TestServer
  class FileDeleter
    def use(file)
      Dir.delete(file.path)
    rescue StandardError => err
      Rails.logger.error "#{err.class}: #{err.message}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_server-0.5.2 lib/test_server/file_deleter.rb