Sha256: cb7c5b4bf5d4ecb60187ed4f8bd5ea711b972288d0a750447236c28af4e5d2dc

Contents?: true

Size: 363 Bytes

Versions: 13

Compression:

Stored size: 363 Bytes

Contents

require 'active_record'
require 'emitter'
require 'falls_back_on'
require 'sniff'

class DirigibleRecord < ActiveRecord::Base
  include BrighterPlanet::Dirigible
  include BrighterPlanet::Emitter
  
  falls_back_on :fuel_efficiency => 20.182.miles_per_gallon.to(:kilometres_per_litre),
                :annual_distance_estimate => 11819.miles.to(:kilometres)
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sniff-1.1.1 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-1.1.0 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-1.0.1 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-1.0.0 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-0.11.12 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-0.11.11 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-0.11.10 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-0.11.9 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-0.11.8 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-0.11.7 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-0.11.6 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-0.11.5 spec/fixtures/dirigible/features/support/dirigible_record.rb
sniff-0.11.4 spec/fixtures/dirigible/features/support/dirigible_record.rb