Sha256: f74083504d774ba3873de22d8a94470916648a577c58f8532b92eb5897a6709c
Contents?: true
Size: 270 Bytes
Versions: 8
Compression:
Stored size: 270 Bytes
Contents
require "anyfetch/original_filename/path" module Anyfetch class File def initialize(uri, options = {}) @uri = uri @options = options end def open file = ::File.open(@uri.path) file.extend(OriginalFilename::Path) end end end
Version data entries
8 entries across 8 versions & 1 rubygems