Class: GreenhouseGas
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- GreenhouseGas
- Defined in:
- lib/earth/fuel/greenhouse_gas.rb
Class Method Summary collapse
Class Method Details
.[](abbreviation) ⇒ Object
5 6 7 |
# File 'lib/earth/fuel/greenhouse_gas.rb', line 5 def [](abbreviation) find_by_abbreviation abbreviation.to_s end |