Sha256: b95d771309f8706071215d0c9b2a8cdfc7f1ba5e6c1694098407cea7c8ca6e0c

Contents?: true

Size: 546 Bytes

Versions: 10

Compression:

Stored size: 546 Bytes

Contents

require 'earth/locality'
class CountryRailClass < ActiveRecord::Base
  self.primary_key = "name"
  
  col :name
  col :country_iso_3166_code
  col :rail_class_name
  col :passengers, :type => :float
  col :speed, :type => :float
  col :speed_units
  col :trip_distance, :type => :float
  col :trip_distance_units
  col :electricity_intensity, :type => :float
  col :electricity_intensity_units
  col :diesel_intensity, :type => :float
  col :diesel_intensity_units
  col :co2_emission_factor, :type => :float
  col :co2_emission_factor_units
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
earth-0.11.20 lib/earth/rail/country_rail_class.rb
earth-0.11.19 lib/earth/rail/country_rail_class.rb
earth-0.11.18 lib/earth/rail/country_rail_class.rb
earth-0.11.17 lib/earth/rail/country_rail_class.rb
earth-0.11.16 lib/earth/rail/country_rail_class.rb
earth-0.11.15 lib/earth/rail/country_rail_class.rb
earth-0.11.14 lib/earth/rail/country_rail_class.rb
earth-0.11.13 lib/earth/rail/country_rail_class.rb
earth-0.11.12 lib/earth/rail/country_rail_class.rb
earth-0.11.11 lib/earth/rail/country_rail_class.rb