Sha256: af60c015676967486f462c34d1063426139747f2cbb07c02af01677982adc675
Contents?: true
Size: 264 Bytes
Versions: 15
Compression:
Stored size: 264 Bytes
Contents
$LOAD_PATH.unshift 'lib' require 'ruco' require 'timeout' require 'tempfile' class Tempfile def self.string_as_file(data) result = nil Tempfile.open('foo') do |f| f.print data f.close result = yield(f.path) end result end end
Version data entries
15 entries across 15 versions & 1 rubygems