Class: QDA::Query::AND_NOT
- Inherits:
-
LogicalExpression
- Object
- LogicalExpression
- QDA::Query::AND_NOT
- Defined in:
- lib/weft/query.rb
Instance Method Summary collapse
Methods inherited from LogicalExpression
#initialize, #to_a, #val_1, #val_2
Constructor Details
This class inherits a constructor from QDA::Query::LogicalExpression
Instance Method Details
#calculate ⇒ Object
161 162 163 |
# File 'lib/weft/query.rb', line 161 def calculate() val_1.dup.remove(val_2) end |
#to_s ⇒ Object
164 165 166 |
# File 'lib/weft/query.rb', line 164 def to_s "( #{arg_1} AND NOT #{arg_2} )" end |