instance method swap

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

swap(target, *args, &block)

No documentation comment.

Parameters

target req
args rest
block block
Source
# File actionpack/lib/action_controller/middleware_stack.rb, line 101
    def swap(target, *args, &block)
      insert_before(target, *args, &block)
      delete(target)
    end

Defined in actionpack/lib/action_controller/middleware_stack.rb line 101 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::MiddlewareStack

Type at least 2 characters to search.

↑↓ navigate · open · esc close