Module: WYQRuby::Base::Path

Defined in:
lib/wyqruby/base/path.rb

Class Method Summary collapse

Class Method Details

.get_desktopObject

获取桌面路径



5
6
7
# File 'lib/wyqruby/base/path.rb', line 5

def Path.get_desktop
  return ENV['HOME']+'/Desktop'
end

.get_tempObject

获取临时路径



10
11
12
# File 'lib/wyqruby/base/path.rb', line 10

def Path.get_temp
  return ENV['TEMP']
end