diff --git a/lib/toggles/feature/operation/and.rb b/lib/toggles/feature/operation/and.rb deleted file mode 100644 index e69de29..0000000 diff --git a/lib/toggles/feature/operation/gt.rb b/lib/toggles/feature/operation/gt.rb deleted file mode 100644 index e182e32..0000000 --- a/lib/toggles/feature/operation/gt.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Feature - module Operation - class GreaterThan - def self.call(entity, attr_name, expected) - entity.send(attr_name) > expected - end - end - end -end diff --git a/lib/toggles/feature/operation/in.rb b/lib/toggles/feature/operation/in.rb deleted file mode 100644 index 16bb95d..0000000 --- a/lib/toggles/feature/operation/in.rb +++ /dev/null @@ -1,15 +0,0 @@ -module Feature - module Operation - class In - def self.call(entity, attr_name, expected) - if expected.kind_of? Hash - expected = expected.reduce([]) do |list, (operation, args)| - Feature.operations[operation.to_sym].call(args) - end - end - - expected.include? entity.send(attr_name.to_sym) - end - end - end -end diff --git a/lib/toggles/feature/operation/range.rb b/lib/toggles/feature/operation/range.rb deleted file mode 100644 index 851b89f..0000000 --- a/lib/toggles/feature/operation/range.rb +++ /dev/null @@ -1,8 +0,0 @@ -module Feature - module Operation - class Range - def self.call(args) - end - end - end -end