Module: Flatter::Mapper::Options::FactoryMethods

Included in:
Factory
Defined in:
lib/flatter/mapper/options.rb

Instance Method Summary collapse

Instance Method Details

#createObject



6
7
8
9
10
# File 'lib/flatter/mapper/options.rb', line 6

def create(*)
  super.tap do |mapper|
    mapper.options.merge! options.slice(*Mapper.mapper_options)
  end
end