lib/picky/backends/file.rb in picky-4.26.2 vs lib/picky/backends/file.rb in picky-4.27.0
- old
+ new
@@ -8,14 +8,14 @@
# That map to positions the File, encoded in JSON:
# ...[1,2,3,21,7,4,13,15]...
#
class File < Backend
- def create_weights bundle
+ def create_weights bundle, _ = nil
Memory::JSON.new bundle.index_path(:weights)
end
- def create_similarity bundle
+ def create_similarity bundle, _ = nil
json bundle.index_path(:similarity)
end
end
\ No newline at end of file