Sha256: 48d50a3c097bc10fdcb952a8c55c90c0897d4faa2badc5663578a614ddac43db
Contents?: true
Size: 246 Bytes
Versions: 10
Compression:
Stored size: 246 Bytes
Contents
$LOAD_PATH.unshift 'lib' require 'ruco' 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
10 entries across 10 versions & 1 rubygems