Module: ZTK::DSL::Core Private

Included in:
Base
Defined in:
lib/ztk/dsl/core.rb,
lib/ztk/dsl/core/io.rb,
lib/ztk/dsl/core/actions.rb,
lib/ztk/dsl/core/dataset.rb,
lib/ztk/dsl/core/options.rb,
lib/ztk/dsl/core/relations.rb,
lib/ztk/dsl/core/attributes.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.

DSL Core

Author:

Defined Under Namespace

Modules: Actions, Attributes, ClassMethods, Dataset, IO, Options, Relations

Class Method Summary (collapse)

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.



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/ztk/dsl/core.rb', line 15

def self.included(base)
  base.class_eval do
    base.send(:extend, ZTK::DSL::Core::ClassMethods)

    # base.send(:extend, ZTK::DSL::Core::DualMethods)
    # base.send(:include, ZTK::DSL::Core::DualMethods)

    base.send(:include, ZTK::DSL::Core::Attributes)
    base.send(:include, ZTK::DSL::Core::Actions)
    base.send(:include, ZTK::DSL::Core::Dataset)
    base.send(:include, ZTK::DSL::Core::IO)
    base.send(:include, ZTK::DSL::Core::Options)
    base.send(:include, ZTK::DSL::Core::Relations)
  end
end