Sha256: 319563f080b44f10bf90f07e78369cd1c3aefc53d82acf7674a9a4d30d938800

Contents?: true

Size: 452 Bytes

Versions: 10

Compression:

Stored size: 452 Bytes

Contents

require 'earth/fuel'
require 'earth/locality'
class CountryRailTractionClass < ActiveRecord::Base
  self.primary_key = "name"
  
  col :name
  col :country_iso_3166_code
  col :rail_traction_name
  col :rail_class_name
  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_traction_class.rb
earth-0.11.19 lib/earth/rail/country_rail_traction_class.rb
earth-0.11.18 lib/earth/rail/country_rail_traction_class.rb
earth-0.11.17 lib/earth/rail/country_rail_traction_class.rb
earth-0.11.16 lib/earth/rail/country_rail_traction_class.rb
earth-0.11.15 lib/earth/rail/country_rail_traction_class.rb
earth-0.11.14 lib/earth/rail/country_rail_traction_class.rb
earth-0.11.13 lib/earth/rail/country_rail_traction_class.rb
earth-0.11.12 lib/earth/rail/country_rail_traction_class.rb
earth-0.11.11 lib/earth/rail/country_rail_traction_class.rb