Sha256: a8535884704c8f8db1e3d7b618900c2ca9a5ee74fcde01257e392ae1d36030cf

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

module BrighterPlanet
  module BusTrip
    module Characterization
      def self.included(base)
        base.characterize do
          has :bus_class
          has :duration # measures time in minutes
          has :distance_estimate, :trumps => :duration, :measures => :length
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bus_trip-0.0.12 lib/bus_trip/characterization.rb
bus_trip-0.0.11 lib/bus_trip/characterization.rb