class XDG::Config

Provides configuration support.

Constants

DIRS_PAIR
HOME_PAIR

Public Class Methods

new(home: Paths::Home, directories: Paths::Directory, environment: ENV) click to toggle source
# File lib/xdg/config.rb, line 16
def initialize home: Paths::Home, directories: Paths::Directory, environment: ENV
  @combined = Paths::Combined.new home.new(HOME_PAIR, environment),
                                  directories.new(DIRS_PAIR, environment)
end

Public Instance Methods

inspect(= " click to toggle source
# File lib/xdg/config.rb, line 21
  def inspect = "#<#{self.class}:#{object_id} #{self}>"

  private

  attr_reader :combined
end