instance method
initialize_copy
Ruby on Rails 6.0.6
Since v3.1.12Signature
initialize_copy(other)
No documentation comment.
Parameters
-
otherreq
Source
# File actionpack/lib/action_dispatch/middleware/stack.rb, line 96
def initialize_copy(other)
self.middlewares = other.middlewares.dup
end
Defined in actionpack/lib/action_dispatch/middleware/stack.rb line 96
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::MiddlewareStack