Haruka Yoshihara
null+****@clear*****
Thu Dec 13 13:33:51 JST 2012
Haruka Yoshihara 2012-12-13 13:33:51 +0900 (Thu, 13 Dec 2012) New Revision: 39534f8e653fc1f07cb7e985f0872e657a6ccfa8 https://github.com/groonga/groonga-query-log/commit/39534f8e653fc1f07cb7e985f0872e657a6ccfa8 Log: Remove duplicated method Modified files: lib/groonga/query-log/analyzer/reporter/html.rb Modified: lib/groonga/query-log/analyzer/reporter/html.rb (+2 -9) =================================================================== --- lib/groonga/query-log/analyzer/reporter/html.rb 2012-12-13 12:06:42 +0900 (7efaf93) +++ lib/groonga/query-log/analyzer/reporter/html.rb 2012-12-13 13:33:51 +0900 (466fdf5) @@ -26,13 +26,6 @@ module Groonga class HTMLReporter < Reporter include ERB::Util - def report_statistic(statistic) - write(",") if @index > 0 - write("\n") - write(format_statistic(statistic)) - @index += 1 - end - def start write(header) end @@ -165,14 +158,14 @@ td.name <body> <h1>groonga query analyzer</h1> EOH - end + end def footer erb(<<-EOH, __LINE__ + 1) </body> </html> EOH - end + end def statistics_header erb(<<-EOH, __LINE__ + 1) -------------- next part -------------- HTML����������������������������... ダウンロード