Sha256: 4928de2b6c2143d09e1115cbfd6fbf663b24a456fb627f14127d6242944fa68e
Contents?: true
Size: 284 Bytes
Versions: 5
Compression:
Stored size: 284 Bytes
Contents
require 'rom/mapper_builder' module ROM class MapperDSL attr_reader :mappers def initialize @mappers = [] end def call mappers end def define(name, options = {}, &block) mappers << [name, options, block] self end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rom-0.4.2 | lib/rom/boot/mapper_dsl.rb |
rom-0.4.1 | lib/rom/boot/mapper_dsl.rb |
rom-0.4.0 | lib/rom/boot/mapper_dsl.rb |
rom-0.3.1 | lib/rom/boot/mapper_dsl.rb |
rom-0.3.0 | lib/rom/boot/mapper_dsl.rb |