lib/dry/initializer/mixin.rb in dry-initializer-0.9.2 vs lib/dry/initializer/mixin.rb in dry-initializer-0.9.3
- old
+ new
@@ -38,9 +38,10 @@
# @param [Hash] settings Shared settings
# @param [Proc] block Definitions for params and options
# @return [self]
#
def using(**settings, &block)
+ warn "[DEPRECATION] The method `using` will be removed in v0.10.0"
Scope.new(self, settings).instance_eval(&block)
self
end
# Adds new plugin to the builder