Sha256: 209e0a2661d40cee453c349322eb73a4ac0910673c8d56128d00e6e13cdf86e4
Contents?: true
Size: 268 Bytes
Versions: 58
Compression:
Stored size: 268 Bytes
Contents
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
58 entries across 58 versions & 2 rubygems