module Cattri
def self.included(base)
-
(void)
-
Parameters:
-
base
(Class, Module
) -- the target that includes `Cattri`
def self.included(base) [base, base.singleton_class].each do |mod| mod.include(Cattri::InternalStore) mod.include(Cattri::ContextRegistry) end base.prepend(Cattri::InitializerPatch) base.extend(Cattri::Visibility) base.extend(Cattri::Dsl) base.extend(ClassMethods) Cattri::Inheritance.install(base) end