From 5e81e6ca31aa0d2a38f8db5c8fe9bcbce98d9689 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Sat, 8 Aug 2015 15:04:20 -0700 Subject: [PATCH] remove the setter from `Scope` it isn't used. --- actionpack/lib/action_dispatch/routing/mapper.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 64352d5742..226f6b56d1 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -1971,10 +1971,6 @@ def fetch(key, &block) def [](key) @hash.fetch(key) { @parent[key] } end - - def []=(k,v) - @hash[k] = v - end end def initialize(set) #:nodoc: -- GitLab