Borders read from directory containing GeoJSON files
#[], #merge, #replace
41 42 43 44 45 46
# File 'lib/aipp/environment.rb', line 41 def read!(dir) @table.clear dir.glob('*.geojson').each do |file| @table[file.basename('.geojson').to_s.to_sym] = AIPP::Border.from_file(file) end end