lib/wukong/widget/reducers/count.rb in wukong-3.0.0.pre3 vs lib/wukong/widget/reducers/count.rb in wukong-3.0.0

- old
+ new

@@ -15,9 +15,21 @@ # 283 input # $ cat input | wu-local count # 283 class Count < Accumulator + description <<EOF +This processor counts the number of input records it receives. + + $ wc -l input + 283 input + $ cat input | wu-local count + 283 + +This processor will not output any records until it receives its final +input record. +EOF + # The total size of the input recors. attr_accessor :size # Initializes the count to 0. def setup