Sha256: 9f6d57ed470c0ac612373a3c8f84a61ded4f8e6f16ac693ad928cda60a549eeb

Contents?: true

Size: 488 Bytes

Versions: 3

Compression:

Stored size: 488 Bytes

Contents

module RequestLogAnalyzer::Aggregator


  class Base
    
    include RequestLogAnalyzer::FileFormat
    
    attr_reader :options
    
    def initialize(format, options = {})
      self.register_file_format(format)
      @options = options
    end
    
    def aggregate(request)
      # implement me!
    end
    
    
    def prepare
    end
    
    def finalize
    end
    
    def warning(type, message, lineno)
    end    

    def report(color = false)
      
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wvanbergen-request-log-analyzer-0.3.0 lib/request_log_analyzer/aggregator/base.rb
wvanbergen-request-log-analyzer-0.3.2 lib/request_log_analyzer/aggregator/base.rb
wvanbergen-request-log-analyzer-0.3.3 lib/request_log_analyzer/aggregator/base.rb