Sha256: d1e434413e1ec830eb44fcf9173b2ed7e518c9132d4ef6c46742aa8d29597fe0

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 Bytes

Contents

module XDG

  # Base directory interface class.
  class BaseDir

    #
    DEFAULTS['XDG_RESOURCE_HOME'] = ['~/.local']
    DEFAULTS['XDG_RESOURCE_DIRS'] = ['/usr/local','/usr']

    # Working directory
    # TODO: Not sure about these defaults
    DEFAULTS['XDG_CONFIG_WORK']   = ['.config','config']
    DEFAULTS['XDG_CACHE_WORK']    = ['.tmp','tmp']
    DEFAULTS['XDG_RESOURCE_WORK'] = ['.local']
  end

end

# Copyright (c) 2008 Rubyworks

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xdg-2.2.5 lib/xdg/base_dir/extended.rb
xdg-2.2.4 lib/xdg/base_dir/extended.rb
xdg-2.2.3 lib/xdg/base_dir/extended.rb