Sha256: f991460c76ba6755becf4c9bfce729ae4052d6177a70aa2a8388c294e802073d

Contents?: true

Size: 441 Bytes

Versions: 1

Compression:

Stored size: 441 Bytes

Contents

module BrighterPlanet
  module Motorcycle
    module Fallback
      def self.included(base)
        base.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
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motorcycle-0.0.13 lib/motorcycle/fallback.rb