lib/dry/system/container.rb in dry-system-0.18.1 vs lib/dry/system/container.rb in dry-system-0.18.2
- old
+ new
@@ -105,9 +105,10 @@
super(name, *args, &block)
# TODO: dry-configurable needs a public API for this
config._settings << _settings[name]
self
end
+ ruby2_keywords(:setting) if respond_to?(:ruby2_keywords, true)
# Configures the container
#
# @example
# class MyApp < Dry::System::Container