class AutomobileTypeFuel

Constants

TABLE_STRUCTURE

Public Instance Methods

latest_activity_year_type_fuel() click to toggle source

for calculating vehicles

# File lib/earth/automobile/automobile_type_fuel.rb, line 31
def latest_activity_year_type_fuel
  AutomobileActivityYearTypeFuel.latest.where(:type_name => type_name, :fuel_family => fuel_family).first
end