lib/picky/backends/file.rb in picky-3.6.7 vs lib/picky/backends/file.rb in picky-3.6.8

- old
+ new

@@ -36,9 +36,16 @@ # def create_configuration bundle extract_lambda_or(configuration, bundle) || JSON.new(bundle.index_path(:configuration)) end + # Returns an object that on #initial, #load returns an object that responds to: + # [id] # => [:sym1, :sym2] + # + def create_realtime bundle + extract_lambda_or(similarity, bundle) || + JSON.new(bundle.index_path(:realtime)) + end # Currently, the loaded ids are intersected using # the fast C-based intersection. # # However, if we could come up with a clever way \ No newline at end of file