Class: ImapMogura::OrOperator
- Inherits:
-
LogicalOperator
- Object
- RuleElement
- LogicalOperator
- ImapMogura::OrOperator
- Defined in:
- lib/imap_mogura/rules_parser/rule_elements.rb
Instance Attribute Summary
Attributes inherited from LogicalOperator
Instance Method Summary collapse
Methods inherited from LogicalOperator
Constructor Details
This class inherits a constructor from ImapMogura::LogicalOperator
Instance Method Details
#match?(mail) ⇒ Boolean
48 49 50 51 |
# File 'lib/imap_mogura/rules_parser/rule_elements.rb', line 48 def match?(mail) ("Any of the operands matches the rule") debug_out_if_it_matches_rule(@operands.any? { |elm| elm.match?(mail) }) end |