From 5e356de2714b1f4845b6774655061bf9eeb9909f Mon Sep 17 00:00:00 2001 From: Charlie Somerville Date: Sun, 30 Jun 2013 11:31:36 +1000 Subject: store a symbol directly inside DISPATCH_CACHE for extra roflscale --- actionpack/lib/action_dispatch/journey/visitors.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_dispatch/journey/visitors.rb b/actionpack/lib/action_dispatch/journey/visitors.rb index 2964d80d9f..0a8cb1b4d4 100644 --- a/actionpack/lib/action_dispatch/journey/visitors.rb +++ b/actionpack/lib/action_dispatch/journey/visitors.rb @@ -4,7 +4,7 @@ module ActionDispatch module Visitors # :nodoc: class Visitor # :nodoc: DISPATCH_CACHE = Hash.new { |h,k| - h[k] = "visit_#{k}" + h[k] = :"visit_#{k}" } def accept(node) -- cgit v1.2.3