lib/request_log_analyzer/output.rb in request-log-analyzer-1.10.1 vs lib/request_log_analyzer/output.rb in request-log-analyzer-1.11.0

- old
+ new

@@ -1,12 +1,8 @@ # Module for generating output module RequestLogAnalyzer::Output - autoload :FixedWidth, 'request_log_analyzer/output/fixed_width' - autoload :HTML, 'request_log_analyzer/output/html' - autoload :FancyHTML, 'request_log_analyzer/output/fancy_html' - # Loads a Output::Base subclass instance. def self.load(file_format, *args) klass = nil if file_format.kind_of?(RequestLogAnalyzer::Output::Base) @@ -109,8 +105,10 @@ # Check if a given table defination hash includes a header (title) # <tt>columns</tt> The columns hash def table_has_header?(columns) columns.any? { |column| !column[:title].nil? } end - end end + +require 'request_log_analyzer/output/fixed_width' +require 'request_log_analyzer/output/html'