lib/request_log_analyzer/aggregator.rb in request-log-analyzer-1.10.1 vs lib/request_log_analyzer/aggregator.rb in request-log-analyzer-1.11.0
- old
+ new
@@ -1,11 +1,7 @@
module RequestLogAnalyzer::Aggregator
- autoload :Echo, 'request_log_analyzer/aggregator/echo'
- autoload :Summarizer, 'request_log_analyzer/aggregator/summarizer'
- autoload :DatabaseInserter, 'request_log_analyzer/aggregator/database_inserter'
-
# The base class of an aggregator. This class provides the interface to which
# every aggregator should comply (by simply subclassing this class).
class Base
attr_reader :options, :source
@@ -44,6 +40,10 @@
# The source_change function gets called when handling a source is started or finished.
def source_change(change, filename)
end
end
-end
\ No newline at end of file
+end
+
+require 'request_log_analyzer/aggregator/echo'
+require 'request_log_analyzer/aggregator/summarizer'
+require 'request_log_analyzer/aggregator/database_inserter'