Module: BrighterPlanet::Motorcycle::Characterization

Defined in:
lib/motorcycle/characterization.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/motorcycle/characterization.rb', line 4

def self.included(base)
  base.characterize do
    has :fuel_efficiency, :measures => :length_per_volume
    has :annual_distance_estimate, :measures => :length, :trumps => :weekly_distance_estimate
    has :weekly_distance_estimate, :measures => :length, :trumps => :annual_distance_estimate
    has :acquisition
    has :retirement
  end
end