Sha256: 0bb4da8037a554afedb84f9f306356059447683012295c1be85678d788560e59

Contents?: true

Size: 338 Bytes

Versions: 3

Compression:

Stored size: 338 Bytes

Contents

require 'earth/fuel'
class AutomobileMakeModel < ActiveRecord::Base
  set_primary_key :name
  
  col :name # make + model
  col :make_name
  col :model_name # model only
  col :fuel_efficiency_city, :type => :float
  col :fuel_efficiency_city_units
  col :fuel_efficiency_highway, :type => :float
  col :fuel_efficiency_highway_units
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
earth-0.11.10 lib/earth/automobile/automobile_make_model.rb
earth-0.11.9 lib/earth/automobile/automobile_make_model.rb
earth-0.11.8 lib/earth/automobile/automobile_make_model.rb