Sha256: 97f0393d5aa3ce6ea28588e5d1d18c546088b4da9a707044ce8e48f8f44b03ce

Contents?: true

Size: 424 Bytes

Versions: 10

Compression:

Stored size: 424 Bytes

Contents

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