Method: Cuboid::OptionGroups::Paths#os_tmpdir
- Defined in:
- lib/cuboid/option_groups/paths.rb
#os_tmpdir ⇒ Object
120 121 122 123 124 125 126 127 128 129 130 |
# File 'lib/cuboid/option_groups/paths.rb', line 120 def os_tmpdir return @os_tmpdir if @os_tmpdir if config['tmpdir'].to_s.empty? # On MS Windows Dir.tmpdir can return the path with a shortname, # better avoid that as it can be insonsistent with other paths. @os_tmpdir = Cuboid.get_long_win32_filename( Dir.tmpdir ) else @os_tmpdir = Cuboid.get_long_win32_filename( config['tmpdir'] ) end end |