Class: Dry::Core::Deprecations::Tagged Private

Inherits:
Module
  • Object
show all
Defined in:
lib/dry/core/deprecations.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Constructor Details

#initialize(tag) ⇒ Tagged

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Tagged.



103
104
105
# File 'lib/dry/core/deprecations.rb', line 103

def initialize(tag)
  @tag = tag
end

Instance Method Details

#extended(base) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



107
108
109
110
# File 'lib/dry/core/deprecations.rb', line 107

def extended(base)
  base.extend Interface
  base.deprecation_tag @tag
end