Class: Spider::QueryFuncs::NAryFunction

Inherits:
Function show all
Defined in:
lib/spiderfw/model/query_funcs.rb

Direct Known Subclasses

Concat

Instance Attribute Summary

Attributes inherited from Function

#mapper_fields

Instance Method Summary collapse

Methods inherited from Function

#aggregate?, #as, func_name, #func_name, #has_aggregates?, inherited, #inner_elements, #inspect

Constructor Details

#initialize(*elements) ⇒ NAryFunction

Returns a new instance of NAryFunction.



151
152
153
# File 'lib/spiderfw/model/query_funcs.rb', line 151

def initialize(*elements)
    @elements = elements
end

Instance Method Details

#elementsObject



155
156
157
# File 'lib/spiderfw/model/query_funcs.rb', line 155

def elements
    @elements
end