class XDG::State
Provides state support.
Constants
- HOME_PAIR
Public Class Methods
Source
# File lib/xdg/state.rb, line 15 def initialize home: Paths::Home, directories: Paths::Directory, environment: ENV @combined = Paths::Combined.new home.new(HOME_PAIR, environment), directories.new(Pair.new, environment) freeze end
Public Instance Methods
Source
# File lib/xdg/state.rb, line 21 def inspect = "#<#{self.class}:#{object_id} #{self}>" private attr_reader :combined end