lib/hanami/provider_registrar.rb in hanami-2.2.0.beta1 vs lib/hanami/provider_registrar.rb in hanami-2.2.0.beta2

- old
+ new

@@ -17,10 +17,12 @@ def initialize(container, slice) super(container) @slice = slice end - def target_container - slice + def provider_source_class = Hanami::Provider::Source + + def provider_source_options + {slice: slice} end end end