lib/rbbt/persist.rb in rbbt-util-5.19.9 vs lib/rbbt/persist.rb in rbbt-util-5.19.10
- old
+ new
@@ -429,10 +429,11 @@
entities
end
else
- persist_file(path.find, type, persist_options, &block)
+ path = path.find if Path === path
+ persist_file(path, type, persist_options, &block)
end
end
end