lib/warp/dir/store.rb in warp-dir-1.6.1 vs lib/warp/dir/store.rb in warp-dir-1.6.2
- old
+ new
@@ -78,11 +78,11 @@
def save!
serializer.persist!
end
# a version of add that save right after.
- def insert(*args)
- add(*args)
+ def insert(**opts)
+ add(**opts)
save!
end
# add to memory representation only
def add(point: nil,