Navigation Menu

Skip to content

Commit

Permalink
Reduce unnecessary "send()"
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 14, 2015
1 parent 44cace2 commit a92ace1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/single_step.rb
Expand Up @@ -46,9 +46,9 @@ def plan(message)
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

Expand Down

0 comments on commit a92ace1

Please sign in to comment.