Method: Hanami::Slice::ClassMethods#shutdown
- Defined in:
- lib/hanami/slice.rb
#shutdown ⇒ self
Shuts down the slice’s providers, as well as the providers in any nested slices.
356 357 358 359 360 |
# File 'lib/hanami/slice.rb', line 356 def shutdown slices.each(&:shutdown) container.shutdown! self end |