Class: QDA::Query::AND

Inherits:
LogicalExpression show all
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

#calculateObject



160
161
162
# File 'lib/weft/query.rb', line 160

def calculate()
  val_1.dup.join(val_2)
end

#to_sObject



163
164
165
# File 'lib/weft/query.rb', line 163

def to_s
  "( #{arg_1} AND #{arg_2} )"
end