summaryrefslogtreecommitdiff
path: root/fake-service/lib/pixelated_service/search/negate_match.rb
diff options
context:
space:
mode:
Diffstat (limited to 'fake-service/lib/pixelated_service/search/negate_match.rb')
-rw-r--r--fake-service/lib/pixelated_service/search/negate_match.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/fake-service/lib/pixelated_service/search/negate_match.rb b/fake-service/lib/pixelated_service/search/negate_match.rb
deleted file mode 100644
index 77d880e8..00000000
--- a/fake-service/lib/pixelated_service/search/negate_match.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-module PixelatedService
- class Search
- class NegateMatch
- attr_reader :data
- def initialize(data)
- @data = data
- end
-
- def to_s
- "Negate(#@data)"
- end
-
- def match?(mail)
- !self.data.match?(mail)
- end
-
- def match_string?(str)
- !self.data.match_string?(str)
- end
- end
- end
-end