Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove any or all extraneous file

  • Loading branch information...
commit 536eeaf063ef4bb065374b5b2db2329fb33926e9 1 parent d736325
@binarylogic binarylogic authored
Showing with 0 additions and 20 deletions.
  1. +0 −20 lib/searchlogic/named_scopes/any_or_all_conditions.rb
View
20 lib/searchlogic/named_scopes/any_or_all_conditions.rb
@@ -1,20 +0,0 @@
-module Searchlogic
- module NamedScopes
- module AnyOrAllConditions
- # Add any / all variations to every comparison and wildcard condition
- COMPARISON_CONDITIONS.merge(WILDCARD_CONDITIONS).each do |condition, aliases|
- CONDITIONS[condition] = aliases
- CONDITIONS["#{condition}_any".to_sym] = aliases.collect { |a| "#{a}_any".to_sym }
- CONDITIONS["#{condition}_all".to_sym] = aliases.collect { |a| "#{a}_all".to_sym }
- end
-
- CONDITIONS[:equals_any] = CONDITIONS[:equals_any] + [:in]
- CONDITIONS[:does_not_equal_all] = CONDITIONS[:does_not_equal_all] + [:not_in]
- end
-
- def condition?(name)
-
- end
-
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.