Sha256: 4beef928ba1b483c250c2af3d6c9416952aee8702994a7665cc291812e1c0668
Contents?: true
Size: 649 Bytes
Versions: 5
Compression:
Stored size: 649 Bytes
Contents
# frozen_string_literal: true require 'eac_fs/storage_tree' require 'eac_ruby_utils/simple_cache' module Ehbrs module UserDirs class << self include ::EacRubyUtils::SimpleCache def application_id 'ehbrs-tools' end private def user_home_dir_uncached ::EacFs::StorageTree.new(Dir.home) end def cache_uncached user_home_dir.child('.cache', application_id) end def config_uncached user_home_dir.child('.config', application_id) end def data_uncached user_home_dir.child('.local', 'share', application_id) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems