Module: SmartCore::Schema::DSL Private
- Included in:
- SmartCore::Schema
- Defined in:
- lib/smart_core/schema/dsl.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Modules: ClassInheritance, ClassMethods
Class Method Summary collapse
- .included(base_klass) ⇒ void private
Class Method Details
.included(base_klass) ⇒ void
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.
This method returns an undefined value.
12 13 14 15 16 |
# File 'lib/smart_core/schema/dsl.rb', line 12 def included(base_klass) base_klass.instance_variable_set(:@__schema_checker__, SmartCore::Schema::Checker.new) base_klass.extend(ClassMethods) base_klass.singleton_class.prepend(ClassInheritance) end |