Sha256: 9f51da4f50f04b1bc3bae936dd464749c09869a63a1f60af6736363e9f8346ff

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

# frozen_string_literal: true

module Dry
  module Initializer
    # @private
    module Mixin
      extend  DSL              # @deprecated
      include Dry::Initializer # @deprecated
      # @deprecated
      def self.extended(klass)
        warn "[DEPRECATED] Use Dry::Initializer instead of its alias" \
             " Dry::Initializer::Mixin. The later will be removed in v2.1.0"
        super
      end

      require_relative "mixin/root"
      require_relative "mixin/local"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-initializer-3.1.1 lib/dry/initializer/mixin.rb