module GemHadar::Utils
def xdg_config_home
-
(Pathname)
- the Pathname object representing the XDG configuration directory
def xdg_config_home ENV['XDG_CONFIG_HOME'].full? { Pathname.new(_1) } || Pathname.new(ENV.fetch('HOME')) + '.config' end