Class: EacRubyBase0::ApplicationXdg

Inherits:
Object
  • Object
show all
Defined in:
lib/eac_ruby_base0/application_xdg.rb

Overview

Constant Summary collapse

DIRECTORIES =
{ cache: '.cache', config: '.config', data: '.local/share',
state: '.local/state' }.freeze

Class Method Summary collapse

Class Method Details

.user_home_dir_from_envPathname

Returns:

  • (Pathname)


10
11
12
# File 'lib/eac_ruby_base0/application_xdg.rb', line 10

def user_home_dir_from_env
  ENV.fetch('HOME').to_pathname
end