Module: OsmImport::Mapper

Extended by:
Autoloading
Defined in:
lib/osm_import/mapper.rb

Defined Under Namespace

Classes: Address, Base, Center, Id, String, Type

Class Method Summary collapse

Methods included from Autoloading

[], const_missing

Class Method Details

.new(name, type) ⇒ Object



7
8
9
# File 'lib/osm_import/mapper.rb', line 7

def self.new(name, type)
  self[(type || name).to_s].new(name)
end