Module: ZTK::DSL::Core::Relations Private
- Defined in:
- lib/ztk/dsl/core/relations.rb,
lib/ztk/dsl/core/relations/has_many.rb,
lib/ztk/dsl/core/relations/belongs_to.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: BelongsTo, ClassMethods, HasMany
Class Method Summary (collapse)
- + (Object) included(base) private
Class Method Details
+ (Object) included(base)
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.
9 10 11 12 13 14 15 |
# File 'lib/ztk/dsl/core/relations.rb', line 9 def self.included(base) base.class_eval do base.send(:extend, ZTK::DSL::Core::Relations::ClassMethods) base.send(:include, ZTK::DSL::Core::Relations::BelongsTo) base.send(:include, ZTK::DSL::Core::Relations::HasMany) end end |