Sha256: 945ae289afe5a1a2dcefc07f06613543cb9424a333055ff1bb895c60bd06b6d2

Contents?: true

Size: 423 Bytes

Versions: 15

Compression:

Stored size: 423 Bytes

Contents

require 'earth/fuel'
class RailCompanyTractionClass < ActiveRecord::Base
  self.primary_key = "name"
  
  col :name
  col :rail_company_name
  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

15 entries across 15 versions & 1 rubygems

Version Path
earth-0.12.4 lib/earth/rail/rail_company_traction_class.rb
earth-0.12.3 lib/earth/rail/rail_company_traction_class.rb
earth-0.12.2 lib/earth/rail/rail_company_traction_class.rb
earth-0.12.1 lib/earth/rail/rail_company_traction_class.rb
earth-0.12.0 lib/earth/rail/rail_company_traction_class.rb
earth-0.11.20 lib/earth/rail/rail_company_traction_class.rb
earth-0.11.19 lib/earth/rail/rail_company_traction_class.rb
earth-0.11.18 lib/earth/rail/rail_company_traction_class.rb
earth-0.11.17 lib/earth/rail/rail_company_traction_class.rb
earth-0.11.16 lib/earth/rail/rail_company_traction_class.rb
earth-0.11.15 lib/earth/rail/rail_company_traction_class.rb
earth-0.11.14 lib/earth/rail/rail_company_traction_class.rb
earth-0.11.13 lib/earth/rail/rail_company_traction_class.rb
earth-0.11.12 lib/earth/rail/rail_company_traction_class.rb
earth-0.11.11 lib/earth/rail/rail_company_traction_class.rb