Sha256: 52c2e6f0e2379c331a8d6e11e754d8c1858b47473d00ce38a2dc4c5b54d48a13
Contents?: true
Size: 347 Bytes
Versions: 3
Compression:
Stored size: 347 Bytes
Contents
# Base Directory Mixin The base directory mixin is used to easy augment a class for access to a named subdirectory of the XDG directories. class MyAppConfig include XDG::BaseDir::Mixin def subdirectory 'myapp' end end c = MyAppConfig.new c.config.home.to_a #=> [$froot + 'home/joe/.config/myapp']
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xdg-2.2.5 | demo/03_base_dir_mixin.md |
xdg-2.2.4 | demo/03_base_dir_mixin.md |
xdg-2.2.3 | demo/03_base_dir_mixin.md |