Class: ImapMogura::LogicalOperator
- Inherits:
-
RuleElement
- Object
- RuleElement
- ImapMogura::LogicalOperator
- Defined in:
- lib/imap_mogura/rules_parser/rule_elements.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#operands ⇒ Object
readonly
Returns the value of attribute operands.
Instance Method Summary collapse
-
#initialize(operands) ⇒ LogicalOperator
constructor
A new instance of LogicalOperator.
- #to_s ⇒ Object
Methods inherited from RuleElement
Constructor Details
#initialize(operands) ⇒ LogicalOperator
Returns a new instance of LogicalOperator.
27 28 29 30 31 |
# File 'lib/imap_mogura/rules_parser/rule_elements.rb', line 27 def initialize(operands) @operands = operands super() end |
Instance Attribute Details
#operands ⇒ Object (readonly)
Returns the value of attribute operands.
37 38 39 |
# File 'lib/imap_mogura/rules_parser/rule_elements.rb', line 37 def operands @operands end |
Instance Method Details
#to_s ⇒ Object
33 34 35 |
# File 'lib/imap_mogura/rules_parser/rule_elements.rb', line 33 def to_s "#<#{self.class} operands=#{@operands}>" end |