diff options
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/visitors/visitor.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/visitors/visitor.rb b/lib/arel/visitors/visitor.rb index 33ec5eafb4..420549b2aa 100644 --- a/lib/arel/visitors/visitor.rb +++ b/lib/arel/visitors/visitor.rb @@ -9,8 +9,8 @@ module Arel DISPATCH = Hash.new do |hash, visitor_class| hash[visitor_class] = - Hash.new do |hash, node_class| - hash[node_class] = "visit_#{(node_class.name || '').gsub('::', '_')}" + Hash.new do |method_hash, node_class| + method_hash[node_class] = "visit_#{(node_class.name || '').gsub('::', '_')}" end end |