Class: Bud::Accum
Overview
:nodoc: all
Instance Method Summary (collapse)
Methods inherited from Agg
Instance Method Details
- (Object) init(x)
196 197 198 |
# File 'lib/bud/aggs.rb', line 196 def init(x) [x].to_set end |
- (Object) trans(the_state, val)
199 200 201 202 |
# File 'lib/bud/aggs.rb', line 199 def trans(the_state, val) the_state << val return the_state, nil end |