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