Class: ImapMogura::AndOperator
- Inherits:
-
LogicalOperator
- Object
- RuleElement
- LogicalOperator
- ImapMogura::AndOperator
- 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
41 42 43 44 |
# File 'lib/imap_mogura/rules_parser/rule_elements.rb', line 41 def match?(mail) ("All of the operands match the rule") debug_out_if_it_matches_rule(@operands.all? { |elm| elm.match?(mail) }) end |