module WYQRB::Base::Path

Public Class Methods

get_desktop() click to toggle source

获取桌面路径

  # File lib/wyqrb/base/path.rb
5 def Path.get_desktop
6   return ENV['HOME']+'/Desktop'
7 end
get_temp() click to toggle source

获取临时路径

   # File lib/wyqrb/base/path.rb
10 def Path.get_temp
11   return ENV['TEMP']
12 end