module ROM::Mapper::DSL

Mapper class-level DSL including Attribute DSL and Model DSL

Public Class Methods

included(klass) click to toggle source

Extend mapper class with macros and DSL methods

@api private

# File lib/rom/mapper/dsl.rb, line 11
def self.included(klass)
  klass.extend(Dry::Core::ClassAttributes)
  klass.extend(ClassMethods)
end