lib/xdg/paths/directory.rb in xdg-7.0.3 vs lib/xdg/paths/directory.rb in xdg-7.1.0
- old
+ new
@@ -20,18 +20,18 @@
.split(DELIMITER)
.uniq
.map { |path| expand path }
end
- def inspect = [key, dynamic.join(DELIMITER)].reject(&:empty?).join(XDG::DELIMITER)
+ def inspect = [key, dynamic.join(DELIMITER)].reject(&:empty?).join XDG::DELIMITER
private
attr_reader :pair, :environment
- def key = String(pair.key)
+ def key = String pair.key
- def value = String(pair.value)
+ def value = String pair.value
def expand(path) = Pathname(path).expand_path
end
end
end