# File referrercop, line 120 def self.extract(input, type) begin case input_type(input) when :apache_combined $stderr.puts "Input type: Apache combined log file" if $VERBOSE return extract_apache_combined(input, type) when :awstats $stderr.puts "Input type: AWStats data file" if $VERBOSE return extract_awstats(input, type) when :text $stderr.puts "Input type: Text" if $VERBOSE return extract_text(input, type) end rescue => e abort("Error: #{e}") end end