Sha256: f4ab2902342e84fc5796e59d161593d2d271fb2b41e49d820eee0c776b5c444c

Contents?: true

Size: 650 Bytes

Versions: 45

Compression:

Stored size: 650 Bytes

Contents

class FlightFuelType < ActiveRecord::Base
  # this fallback is jet fuel
  falls_back_on :emission_factor =>           (21.09.pounds.to(:kilograms) / 1.gallons.to(:litres)),  # in pounds CO2/gallon fuel: http://www.eia.doe.gov/oiaf/1605/excel/Fuel%20Emission%20Factors.xls
                :radiative_forcing_index =>   2,                                                      # from Matt
                :density =>                   3.057                                                   # kg / gal
  
  data_miner do
    tap "Brighter Planet's sanitized flight fuel type data", Earth.taps_server
    
    # we just always use the fallback
  end
end

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
earth-0.4.12 lib/earth/air/flight_fuel_type.rb
earth-0.4.11 lib/earth/air/flight_fuel_type.rb
earth-0.4.10 lib/earth/air/flight_fuel_type.rb
earth-0.4.9 lib/earth/air/flight_fuel_type.rb
earth-0.4.8 lib/earth/air/flight_fuel_type.rb
earth-0.4.7 lib/earth/air/flight_fuel_type.rb
earth-0.4.6 lib/earth/air/flight_fuel_type.rb
earth-0.4.5 lib/earth/air/flight_fuel_type.rb
earth-0.4.4 lib/earth/air/flight_fuel_type.rb
earth-0.4.3 lib/earth/air/flight_fuel_type.rb
earth-0.4.2 lib/earth/air/flight_fuel_type.rb
earth-0.4.1 lib/earth/air/flight_fuel_type.rb
earth-0.4.0 lib/earth/air/flight_fuel_type.rb
earth-0.3.15 lib/earth/air/flight_fuel_type.rb
earth-0.3.14 lib/earth/air/flight_fuel_type.rb
earth-0.3.13 lib/earth/air/flight_fuel_type.rb
earth-0.3.11 lib/earth/air/flight_fuel_type.rb
earth-0.3.10 lib/earth/air/flight_fuel_type.rb
earth-0.3.9 lib/earth/air/flight_fuel_type.rb
earth-0.3.8 lib/earth/air/flight_fuel_type.rb