Class: Dry::Core::Deprecations::Tagged Private
- Inherits:
-
Module
- Object
- Module
- Dry::Core::Deprecations::Tagged
- 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
- #extended(base) ⇒ Object private
-
#initialize(tag) ⇒ Tagged
constructor
private
A new instance of Tagged.
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 |