class ElectricityMix
Constants
- TABLE_STRUCTURE
Public Instance Methods
energy_content()
click to toggle source
# File lib/earth/locality/electricity_mix.rb, line 30 def energy_content 1.kilowatt_hours.to(:megajoules) end
energy_content_units()
click to toggle source
# File lib/earth/locality/electricity_mix.rb, line 34 def energy_content_units 'megajoules_per_kilowatt_hour' end