module Flows::Plugin::DependencyInjector::InheritanceCallback
@api private
`:reek:UtilityFunction` and `:reek:FeatureEnvy` are disabled here because Reek does not know about inheritance callback stuff.
Public Instance Methods
extended(mod)
click to toggle source
Calls superclass method
# File lib/flows/plugin/dependency_injector.rb, line 126 def extended(mod) mod.extend(DSL) mod.singleton_class.prepend(InheritanceCallback) if mod.class == Module super end
included(mod)
click to toggle source
Calls superclass method
# File lib/flows/plugin/dependency_injector.rb, line 118 def included(mod) mod.extend(DSL) mod.singleton_class.prepend(InheritanceCallback) if mod.class == Module super end