Sha256: 3b188cef6816b111f23d93369f0ed8f7665aa341298b98fe004dd74edf41bc22

Contents?: true

Size: 576 Bytes

Versions: 3

Compression:

Stored size: 576 Bytes

Contents

if RUBY_VERSION > '1.9'
  require_relative 'base_dir'
else
  require 'xdg/base_dir'
end

$XDG_DATA        = XDG::BaseDir.new('DATA')
$XDG_DATA_HOME   = XDG::BaseDir.new('DATA', 'HOME')
$XDG_DATA_DIRS   = XDG::BaseDir.new('DATA', 'DIRS')

$XDG_CONFIG      = XDG::BaseDir.new('CONFIG')
$XDG_CONFIG_HOME = XDG::BaseDir.new('CONFIG', 'HOME')
$XDG_CONFIG_DIRS = XDG::BaseDir.new('CONFIG', 'DIRS')

$XDG_CACHE       = XDG::BaseDir.new('CACHE')
$XDG_CACHE_HOME  = XDG::BaseDir.new('CACHE', 'HOME')
$XDG_CACHE_DIRS  = XDG::BaseDir.new('CACHE', 'DIRS')

# Copyright (c) 2008 Rubyworks

Version data entries

3 entries across 3 versions & 1 rubygems

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