From 628e51ff109334223094e30ad1365188bbd7f9c6 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 6 Aug 2016 18:51:43 +0200 Subject: applies new string literal convention in actionpack/lib The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. --- actionpack/lib/action_dispatch/journey/route.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_dispatch/journey/route.rb') diff --git a/actionpack/lib/action_dispatch/journey/route.rb b/actionpack/lib/action_dispatch/journey/route.rb index cfd6681dd1..ad33c9d30b 100644 --- a/actionpack/lib/action_dispatch/journey/route.rb +++ b/actionpack/lib/action_dispatch/journey/route.rb @@ -29,7 +29,7 @@ module ActionDispatch class All def self.call(_); true; end - def self.verb; ''; end + def self.verb; ""; end end VERB_TO_CLASS = VERBS.each_with_object({ :all => All }) do |verb, hash| @@ -164,7 +164,7 @@ module ActionDispatch end def verb - verbs.join('|') + verbs.join("|") end private -- cgit v1.2.3