Class: QDA::Query::OR
- Inherits:
-
LogicalExpression
- Object
- LogicalExpression
- QDA::Query::OR
- 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
150 151 152 |
# File 'lib/weft/query.rb', line 150 def calculate() val_1.dup.merge(val_2) end |
#to_s ⇒ Object
154 155 156 |
# File 'lib/weft/query.rb', line 154 def to_s "( #{arg_1} OR #{@arg_2} )" end |