Sha256: 14a27ccd61e08a0cde72d7aa5db0492751e144383ea61f0afeb5783f67665e32

Contents?: true

Size: 511 Bytes

Versions: 1

Compression:

Stored size: 511 Bytes

Contents

module ETL #:nodoc:
  module Processor #:nodoc:
    # Base class for pre and post processors
    class Processor
      def initialize(control, configuration)
        @control = control
        @configuration = configuration
      end
      protected
      def control
        @control
      end
      def configuration
        @configuration
      end
      def log
        unless @log
          @log = Logger.new(STDOUT)
          @log.level = Logger::DEBUG
        end
        @log
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activewarehouse-etl-0.4.0 lib/etl/processor/processor.rb