Sha256: 40059433fee3b9c7b206f30c5345ee82ec3eb474694c29a6c88ceed915a75b9b
Contents?: true
Size: 246 Bytes
Versions: 20
Compression:
Stored size: 246 Bytes
Contents
require 'tmpdir' class Dir def self.consistent_tmpdir if RUBY_PLATFORM =~ /darwin/i '/tmp' # OS X normally returns a crazy tmpdir, BUT when logged in via SSH, it is '/tmp'. This unifies it. else Dir.tmpdir end end end
Version data entries
20 entries across 20 versions & 6 rubygems