Class: Bud::ArgExemplary
Overview
ArgExemplary aggs are used by argagg. Canonical examples are min/min (argmin/max) They must have a trivial final method and be monotonic, i.e. once a value v is discarded in favor of another, v can never be the final result.
Direct Known Subclasses
Instance Method Summary (collapse)
Methods inherited from Agg
Instance Method Details
- (Object) final(the_state)
32 33 34 |
# File 'lib/bud/aggs.rb', line 32 def final(the_state) the_state end |
- (Object) tie(the_state, val)
:nodoc: all
29 30 31 |
# File 'lib/bud/aggs.rb', line 29 def tie(the_state, val) the_state == val end |