Method: Cosmos::WatermarkProcessor#initialize

Defined in:
lib/cosmos/processors/watermark_processor.rb

#initialize(item_name, value_type = :CONVERTED) ⇒ WatermarkProcessor

Returns a new instance of WatermarkProcessor.

Parameters:

  • item_name (String)

    The name of the item to gather statistics on

  • value_type (defaults to: :CONVERTED)

    #See Processor::initialize



26
27
28
29
30
# File 'lib/cosmos/processors/watermark_processor.rb', line 26

def initialize(item_name, value_type = :CONVERTED)
  super(value_type)
  @item_name = item_name.to_s.upcase
  reset()
end