Module: ROM::Mapper::ConfigurationPlugin::Methods

Defined in:
lib/rom/mapper/configuration_plugin.rb

Instance Method Summary collapse

Instance Method Details

#mappers(&block) ⇒ Object



19
20
21
# File 'lib/rom/mapper/configuration_plugin.rb', line 19

def mappers(&block)
  register_mapper(*MapperDSL.new(self, mapper_classes, block).mapper_classes)
end