Sha256: dd6d580d2bc5abb91f8415dca53e31b0e6ddfc4f4ba3b13ab024295a4fd9c8f6
Contents?: true
Size: 478 Bytes
Versions: 38
Compression:
Stored size: 478 Bytes
Contents
FlightDistanceClass.class_eval do data_miner do schema Earth.database_options do string 'name' float 'distance' string 'distance_units' end import "a list of Brighter Planet-defined distance classes", :url => 'http://static.brighterplanet.com/science/data/transport/air/distance_classes/distance_classes.csv' do key 'name' store 'distance', :units_field_name => 'units', :to_units => :kilometres end end end
Version data entries
38 entries across 38 versions & 2 rubygems