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

Version Path
ruco-0.0.35 spec/spec_helper.rb
ruco-0.0.34 spec/spec_helper.rb
ruco-0.0.33 spec/spec_helper.rb
ruco-0.0.32 spec/spec_helper.rb
ruco-0.0.31 spec/spec_helper.rb
ruco-0.0.30 spec/spec_helper.rb
ruco-0.0.29 spec/spec_helper.rb
ruco-0.0.28 spec/spec_helper.rb
ruco-0.0.27 spec/spec_helper.rb
ruco-0.0.26 spec/spec_helper.rb
ruco-0.0.25 spec/spec_helper.rb
ruco-0.0.24 spec/spec_helper.rb
ruco-0.0.23 spec/spec_helper.rb
ruco-0.0.22 spec/spec_helper.rb
ruco-0.0.21 spec/spec_helper.rb