lib/glob/object.rb in glob-0.4.0 vs lib/glob/object.rb in glob-0.4.1
- old
+ new
@@ -49,10 +49,10 @@
private def map
@map ||= Map.call(@target)
end
private def unescape(key)
- key.to_s.gsub(/\\\./, ".")
+ key.to_s.gsub("\\.", ".")
end
private def set_path_value(segments, target, value)
segments = segments.dup.map(&:to_sym)