lib/yoda/store/objects/patch_set.rb in yoda-language-server-0.9.0 vs lib/yoda/store/objects/patch_set.rb in yoda-language-server-0.10.0
- old
+ new
@@ -11,11 +11,11 @@
@index = Hash.new
end
# @param address [Symbol]
# @return [Set<Symbol>]
- def get(address)
+ def get(address, **)
index[address] ||= Set.new
end
# @return [Set<Symbol>]
def keys
@@ -71,10 +71,10 @@
Merger.new([object, *objects_in_patch]).merged_instance
end
# @param address [String, Symbol]
# @return [Addressable, nil]
- def find(address)
+ def find(address, **)
if (patches = get_patches(address)).empty?
nil
else
Merger.new(patches).merged_instance
end