[Groonga-commit] droonga/droonga-engine at a92ace1 [master] Reduce unnecessary "send()"

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Apr 14 14:57:02 JST 2015


YUKI Hiroshi	2015-04-14 14:57:02 +0900 (Tue, 14 Apr 2015)

  New Revision: a92ace1f4980e6697eb657a265ce78dda8fbd316
  https://github.com/droonga/droonga-engine/commit/a92ace1f4980e6697eb657a265ce78dda8fbd316

  Message:
    Reduce unnecessary "send()"

  Modified files:
    lib/droonga/single_step.rb

  Modified: lib/droonga/single_step.rb (+2 -2)
===================================================================
--- lib/droonga/single_step.rb    2015-04-14 14:43:03 +0900 (74075b2)
+++ lib/droonga/single_step.rb    2015-04-14 14:57:02 +0900 (0780f74)
@@ -46,9 +46,9 @@ module Droonga
       fact_input = find_fact_input(@definition.inputs, @dataset.fact, body)
       if fact_input
         record = body[fact_input[:filter]]
-        planner.send(:scatter, message, record, options)
+        planner.scatter(message, record, options)
       else
-        planner.send(:broadcast, message, options)
+        planner.broadcast(message, options)
       end
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index