Class: Spider::QueryFuncs::BinaryFunction
Instance Attribute Summary
Attributes inherited from Function
Instance Method Summary (collapse)
- - (Object) elements
-
- (BinaryFunction) initialize(el1, el2)
constructor
A new instance of BinaryFunction.
Methods inherited from Function
#aggregate?, func_name, #func_name, #has_aggregates?, inherited, #inner_elements, #inspect
Constructor Details
- (BinaryFunction) initialize(el1, el2)
A new instance of BinaryFunction
116 117 118 119 |
# File 'lib/spiderfw/model/query_funcs.rb', line 116 def initialize(el1, el2) @el1 = el1 @el2 = el2 end |
Instance Method Details
- (Object) elements
121 122 123 |
# File 'lib/spiderfw/model/query_funcs.rb', line 121 def elements [@el1, @el2] end |