Sha256: bf20874d7d9cded23b120a42ef8efbc106d5d9b1cb1450f88eee0132f32bae5f
Contents?: true
Size: 347 Bytes
Versions: 2
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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
maid-xdg-2.2.1.2 | demo/03_base_dir_mixin.rdoc |
xdg-2.2.2 | qed/03_base_dir_mixin.rdoc |