Kouhei Sutou
null+****@clear*****
Fri Oct 27 16:34:32 JST 2017
Kouhei Sutou 2017-10-27 16:34:32 +0900 (Fri, 27 Oct 2017) New Revision: 0ad23b775ec0931fd039a5e7a2d9bf94731b86f7 https://github.com/ranguba/groonga-client/commit/0ad23b775ec0931fd039a5e7a2d9bf94731b86f7 Message: Reduce scope Modified files: lib/groonga/client/command-line/groonga-client-index-check.rb Modified: lib/groonga/client/command-line/groonga-client-index-check.rb (+2 -3) =================================================================== --- lib/groonga/client/command-line/groonga-client-index-check.rb 2017-10-27 16:33:44 +0900 (ed4cd40) +++ lib/groonga/client/command-line/groonga-client-index-check.rb 2017-10-27 16:34:32 +0900 (d591c2a) @@ -30,11 +30,10 @@ module Groonga @port = 10041 @check_missing_source = false @check_index_integrity = false - @target = false end def run(argv) - @target = parse_command_line(argv) + targets = parse_command_line(argv) @client = Client.new(:url => @url, :protocol => @protocol, @@ -44,7 +43,7 @@ module Groonga options = { :check_missing_source => @check_missing_source, :check_index_integrity => @check_index_integrity, - :target => @target + :target => targets } checker = Checker.new(@client, options) checker.check -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171027/d574f0b4/attachment-0001.htm