lib/xdg/config.rb in xdg-7.1.3 vs lib/xdg/config.rb in xdg-8.0.0

- old
+ new

@@ -9,15 +9,17 @@ extend Forwardable HOME_PAIR = Pair["XDG_CONFIG_HOME", ".config"].freeze DIRS_PAIR = Pair["XDG_CONFIG_DIRS", "/etc/xdg"].freeze - delegate %i[home directories all inspect] => :combined + delegate %i[home directories all to_s to_str] => :combined 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 + + def inspect = "#<#{self.class}:#{object_id} #{self}>" private attr_reader :combined end