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
147 148 149 |
# File 'lib/weft/query.rb', line 147 def calculate() val_1.dup.merge(val_2) end |
#to_s ⇒ Object
151 152 153 |
# File 'lib/weft/query.rb', line 151 def to_s "( #{arg_1} OR #{@arg_2} )" end |