Class: RulesProcessor::Operations::NotInclude
- Includes:
- NormalizeArray
- Defined in:
- lib/rules_processor/operations/not_include.rb
Instance Attribute Summary
Attributes inherited from Base
#condition, #condition_value, #field, #options, #record_class, #record_value, #records, #value
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from RulesProcessor::Operations::Base
Instance Method Details
#perform ⇒ Object
8 9 10 |
# File 'lib/rules_processor/operations/not_include.rb', line 8 def perform normalized_value(condition_value).none? { |i| normalized_value(record_value).include?(i) } end |