require_relative("accumulator") module Wukong class Processor # A processor which counts the total number of its input records. # # On it's own, this widget is really just a poor man's `wc -l`. # It's really intended to serve as a superclass for more complex # accumulators. # # @example Count the total number of input records on the command-line. # # $ wc -l input # 283 input # $ cat input | wu-local count # 283 class Count < Accumulator description <