Method: Ego::Filesystem.cache
- Defined in:
- lib/ego/filesystem.rb
.cache(path = '') ⇒ String
Returns the path to cache directory with path appended.
26 27 28 |
# File 'lib/ego/filesystem.rb', line 26 def cache(path = '') File.join(XDG_CACHE_HOME, BASENAME, path) end |