lib/request_log_analyzer/aggregator.rb in request-log-analyzer-1.3.5 vs lib/request_log_analyzer/aggregator.rb in request-log-analyzer-1.3.6
- old
+ new
@@ -6,19 +6,15 @@
# The base class of an aggregator. This class provides the interface to which
# every aggregator should comply (by simply subclassing this class).
class Base
- include RequestLogAnalyzer::FileFormat::Awareness
-
- attr_reader :options
- attr_reader :source
+ attr_reader :options, :source
# Intializes a new RequestLogAnalyzer::Aggregator::Base instance
# It will include the specific file format module.
def initialize(source, options = {})
@source = source
- self.register_file_format(source.file_format)
@options = options
end
# The prepare function is called just before parsing starts. This function
# can be used to initialie variables, etc.
\ No newline at end of file