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
166 167 168 |
# File 'lib/weft/query.rb', line 166 def calculate() val_1.dup.remove(val_2) end |
#to_s ⇒ Object
169 170 171 |
# File 'lib/weft/query.rb', line 169 def to_s "( #{arg_1} AND NOT #{arg_2} )" end |