Sha256: 16b4b5e674f83ad801d932f5ca5ba95896a5406658fdeb71b4291055e489aa02
Contents?: true
Size: 319 Bytes
Versions: 39
Compression:
Stored size: 319 Bytes
Contents
module URI class Data def open io = StringIO.new(data) OpenURI::Meta.init(io) io.meta_add_field('content-type', content_type) if block_given? begin yield io ensure io.close end else io end end end end
Version data entries
39 entries across 39 versions & 1 rubygems