Module: YADM::Repository

Defined in:
lib/yadm/repository.rb

Defined Under Namespace

Modules: ClassMethods, DSL

Class Method Summary collapse

Class Method Details

.included(including_class) ⇒ Object


4
5
6
7
8
9
# File 'lib/yadm/repository.rb', line 4

def included(including_class)
  including_class.const_set(:Query, query_class_for(including_class))
  
  including_class.extend(ClassMethods)
  including_class.extend(DSL)
end