Sha256: e3d937460d8cde82f815744ae1e775279908224bd268aac96d59e3e3e369f888

Contents?: true

Size: 509 Bytes

Versions: 6

Compression:

Stored size: 509 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,2011 Thomas Sawyer
# Distributed under the terms of the APACHE 2.0 license.

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
maid-xdg-2.2.1.2 lib/xdg/base_dir/extended.rb
xdg-2.2.2 lib/xdg/base_dir/extended.rb
xdg-2.2.1 lib/xdg/base_dir/extended.rb
xdg-2.2.0 lib/xdg/base_dir/extended.rb
xdg-2.1.0 lib/xdg/base_dir/extended.rb
xdg-2.0.0 lib/xdg/base_dir/extended.rb