Module: Dry::Effects::Initializer
- Included in:
- Effect, Frame, Provider, Providers::Lock::Backend, Providers::Lock::Handle, Stack
- Defined in:
- lib/dry/effects/initializer.rb
Defined Under Namespace
Modules: DefineWithHook, InstanceMethods
Class Method Summary collapse
- .extended(base) ⇒ Object private
Class 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.
66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/dry/effects/initializer.rb', line 66 def self.extended(base) base.module_eval do if method_defined?(:with) undef_method(:with) end extend(::Dry::Initializer) extend(DefineWithHook) include(InstanceMethods) end end |