Sha256: ddb056c5c4952182ffe5311c7991bc9ecd0d5a2f8539dd43db2893652287875e

Contents?: true

Size: 434 Bytes

Versions: 10

Compression:

Stored size: 434 Bytes

Contents

require 'motorcycle'

class MotorcycleRecord < ActiveRecord::Base
  include Sniff::Emitter
  include BrighterPlanet::Motorcycle
  
  falls_back_on :fuel_efficiency => 61.1.miles_per_gallon.to(:kilometres_per_litre), # https://brighterplanet.sifterapp.com/projects/30/issues/818/comments
                :annual_distance_estimate => 1613.miles.to(:kilometres) # https://brighterplanet.sifterapp.com/projects/30/issues/818/comments
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
motorcycle-0.0.12 lib/test_support/motorcycle_record.rb
motorcycle-0.0.11 lib/test_support/motorcycle_record.rb
motorcycle-0.0.10 lib/test_support/motorcycle_record.rb
motorcycle-0.0.9 lib/test_support/motorcycle_record.rb
motorcycle-0.0.8 lib/test_support/motorcycle_record.rb
motorcycle-0.0.7 lib/test_support/motorcycle_record.rb
motorcycle-0.0.6 lib/test_support/motorcycle_record.rb
motorcycle-0.0.5 lib/test_support/motorcycle_record.rb
motorcycle-0.0.4 lib/test_support/motorcycle_record.rb
motorcycle-0.0.3 lib/test_support/motorcycle_record.rb