lib/flight/characterization.rb in flight-0.0.18 vs lib/flight/characterization.rb in flight-0.0.19
- old
+ new
@@ -1,12 +1,9 @@
-require 'characterizable'
-
module BrighterPlanet
module Flight
module Characterization
def self.included(base)
- base.send :include, Characterizable
base.characterize do
has :date, :trumps => :year
has :year
has :time_of_day
has :origin_airport do |origin_airport|
@@ -26,10 +23,9 @@
has :aircraft, :trumps => [:propulsion, :aircraft_class, :seats_estimate, :fuel_type]
has :propulsion, :trumps => :fuel_type
has :creation_date, :hidden => true
end
- base.add_implicit_characteristics
end
end
end
end