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
9 10 11 |
# File 'lib/earth/fuel/greenhouse_gas.rb', line 9 def [](abbreviation) find_by_abbreviation abbreviation.to_s end |