lib/key_tree/tree.rb in key_tree-0.5.1 vs lib/key_tree/tree.rb in key_tree-0.5.2
- old
+ new
@@ -21,10 +21,9 @@
def [](key_or_path)
super(Path[key_or_path])
end
def fetch(key_or_path, *args, &missing_key)
- missing_key ||= default_proc
super(Path[key_or_path], *args, &missing_key)
end
def values_at(*keys)
super(keys.map { |key_or_path| Path[key_or_path] })