# File lib/action_dispatch/middleware/stack.rb, line 61 def swap(target, *args, &block) insert_before(target, *args, &block) delete(target) end