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.



110
111
112
# File 'lib/dry/core/deprecations.rb', line 110

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.



114
115
116
117
# File 'lib/dry/core/deprecations.rb', line 114

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