Kouhei Sutou
null+****@clear*****
Sun Mar 23 17:10:18 JST 2014
Kouhei Sutou 2014-03-23 17:10:18 +0900 (Sun, 23 Mar 2014) New Revision: 667e618e4f91d0f318608db90cb47139a790ddcb https://github.com/droonga/fluent-plugin-droonga/commit/667e618e4f91d0f318608db90cb47139a790ddcb Message: Use meaningful variable name Modified files: lib/droonga/distributor.rb Modified: lib/droonga/distributor.rb (+3 -3) =================================================================== --- lib/droonga/distributor.rb 2014-03-23 15:47:53 +0900 (56ad356) +++ lib/droonga/distributor.rb 2014-03-23 17:10:18 +0900 (1d7a11d) @@ -51,9 +51,9 @@ module Droonga end end steps = [] - each_strongly_connected_component do |cs| - raise CyclicStepsError.new(cs) if cs.size > 1 - steps.concat(cs) unless cs.first.is_a? String + each_strongly_connected_component do |nodes| + raise CyclicStepsError.new(nodes) if nodes.size > 1 + steps.concat(nodes) unless nodes.first.is_a? String end @dispatcher.dispatch_steps(steps) end -------------- next part -------------- HTML����������������������������...Download