lib/picky/internals/query/combinations/base.rb in picky-1.5.2 vs lib/picky/internals/query/combinations/base.rb in picky-1.5.3

- old
+ new

@@ -49,12 +49,10 @@ # Note: This method is not totally independent of the calculate_ids one. # Since identifiers are only nullified, we need to not include the # ids that have an associated identifier that is nil. # def keep identifiers = [] - # TODO Rewrite to use the category!!! - # @combinations.reject! { |combination| !combination.in?(identifiers) } end # Filters the tokens and identifiers such that identifiers # that are passed in, are removed, including their tokens. @@ -62,11 +60,9 @@ # Note: This method is not totally independent of the calculate_ids one. # Since identifiers are only nullified, we need to not include the # ids that have an associated identifier that is nil. # def remove identifiers = [] - # TODO Rewrite to use the category!!! - # @combinations.reject! { |combination| combination.in?(identifiers) } end # # \ No newline at end of file