lib/residence/characterization.rb in residence-0.0.14 vs lib/residence/characterization.rb in residence-0.0.15
- old
+ new
@@ -1,13 +1,10 @@
# sabshere 8/15/10 should this just be required in the emitter gem's lib/emitter.rb?
-require 'characterizable'
-
module BrighterPlanet
module Residence
module Characterization
def self.included(base)
- base.send :include, Characterizable
base.characterize do
has :zip_code
has :urbanity
has :ownership
has :residence_class
@@ -41,10 +38,9 @@
has :annual_wood_volume_estimate, :measures => :biomass
has :annual_kerosene_volume_estimate, :trumps => :annual_kerosene_cost, :measures => :volume
has :annual_coal_volume_estimate, :trumps => :annual_coal_cost, :measures => :mass # it says volume, but it wants mass
# has :annual_coal_cost, :trumps => :annual_coal_volume_estimate, :measures => :cost
end
- base.add_implicit_characteristics
end
end
end
end