Class: Spider::QueryFuncs::UnaryFunction
Instance Attribute Summary
Attributes inherited from Function
Instance Method Summary (collapse)
- - (Object) elements
-
- (UnaryFunction) initialize(el)
constructor
A new instance of UnaryFunction.
Methods inherited from Function
#aggregate?, func_name, #func_name, #has_aggregates?, inherited, #inner_elements, #inspect
Constructor Details
- (UnaryFunction) initialize(el)
A new instance of UnaryFunction
104 105 106 |
# File 'lib/spiderfw/model/query_funcs.rb', line 104 def initialize(el) @el = el end |
Instance Method Details
- (Object) elements
108 109 110 |
# File 'lib/spiderfw/model/query_funcs.rb', line 108 def elements [@el] end |