Sha256: a2e68a13cb4ba5eaed2bbaff28e897168bb1783dab3df5bb3bcde0d77c040376

Contents?: true

Size: 317 Bytes

Versions: 8

Compression:

Stored size: 317 Bytes

Contents

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

8 entries across 8 versions & 1 rubygems

Version Path
earth-0.11.7 lib/earth/automobile/automobile_make_model.rb
earth-0.11.6 lib/earth/automobile/automobile_make_model.rb
earth-0.11.5 lib/earth/automobile/automobile_make_model.rb
earth-0.11.4 lib/earth/automobile/automobile_make_model.rb
earth-0.11.3 lib/earth/automobile/automobile_make_model.rb
earth-0.11.2 lib/earth/automobile/automobile_make_model.rb
earth-0.11.1 lib/earth/automobile/automobile_make_model.rb
earth-0.11.0 lib/earth/automobile/automobile_make_model.rb