Haruka Yoshihara
null+****@clear*****
Fri Dec 21 14:45:56 JST 2012
Haruka Yoshihara 2012-12-21 14:45:56 +0900 (Fri, 21 Dec 2012) New Revision: 620b1beb931b0859dd38eb3e4db5a498af5398de https://github.com/groonga/groonga-query-log/commit/620b1beb931b0859dd38eb3e4db5a498af5398de Log: doc: fix document about Parser#parse Modified files: lib/groonga/query-log/parser.rb Modified: lib/groonga/query-log/parser.rb (+4 -4) =================================================================== --- lib/groonga/query-log/parser.rb 2012-12-21 14:30:23 +0900 (8048047) +++ lib/groonga/query-log/parser.rb 2012-12-21 14:45:56 +0900 (35db5fb) @@ -31,10 +31,10 @@ module Groonga # informations for each query. # # @param [IO] input IO for input query log file. - # @yield if a block is specified, it is called every time - # log of a query is finished parsing. - # @yieldparam [Groonga::QueryLog::Analyzer::Statistic] Statistic - # of each query in log files. + # @yield [statistics] if a block is specified, it is called + # every time a query is finished parsing. + # @yieldparam [Groonga::QueryLog::Analyzer::Statistic] statistic + # statistics of each query in log files. def parse(input, &block) current_statistics = {} input.each_line do |line| -------------- next part -------------- HTML����������������������������...Download