Sha256: a0a25d96c8acf225083ef590624160b6dae0d047df136a700ed51826cf537eb6
Contents?: true
Size: 375 Bytes
Versions: 31
Compression:
Stored size: 375 Bytes
Contents
require 'tempfile' require 'envjs' class Envjs::TempFile < Tempfile def initialize pattern, suffix = nil super(pattern) if suffix new_path = path + "." + suffix File.link path, new_path File.unlink path # blah ... implementation specific ... @data[0] = @tmpname = new_path end end def getAbsolutePath path end end
Version data entries
31 entries across 31 versions & 4 rubygems