Sha256: 8a51ef197b394feac003fdfd741dc958501879d207de760daf8d7373122da399
Contents?: true
Size: 298 Bytes
Versions: 15
Compression:
Stored size: 298 Bytes
Contents
# frozen_string_literal: true module Hyrax class LocalFileService # @param [String] file_name path to the file # @param [Hash] _options # @yield [File] opens the file and yields it to the block def self.call(file_name, _options) yield File.open(file_name) end end end
Version data entries
15 entries across 15 versions & 1 rubygems