Method: Hanami::Slice::Routing::Middleware::Stack#initialize_copy
- Defined in:
- lib/hanami/slice/routing/middleware/stack.rb
#initialize_copy(source) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
64 65 66 67 68 |
# File 'lib/hanami/slice/routing/middleware/stack.rb', line 64 def initialize_copy(source) super @stack = stack.dup @namespaces = namespaces.dup end |