Module XDG::BaseDir::Mixin
In: lib/xdg/base_dir/mixin.rb

The BaseDir::Mixin module can be used to add XDG base directory methods to your own classes.

    class MyAppConfig
      include XDG::BaseDir::Mixin

      def subdirectory
        'myapp'
      end
    end

    c = MyAppConfig.new

    c.config.home.list  #=> ['~/.config/myapp']

Methods

cache   config   data   home   subdirectory  

Public Instance methods

Override this method to change the subdirectory of the mixin.

[Validate]