Method: Hanami::Config#slices
- Defined in:
- lib/hanami/config.rb
permalink #slices ⇒ Array<String>?
Sets the slices to load when the app is preared or booted.
Defaults to ‘nil`, which will load all slices. Set this to an array of slice names to load only those slices.
This attribute is also populated from the ‘HANAMI_SLICES` environment variable.
80 |
# File 'lib/hanami/config.rb', line 80 setting :slices |