Sha256: 20e2980a35a29290853256c1573e889df1285385ad77796f12249191a0f3c51d
Contents?: true
Size: 523 Bytes
Versions: 9
Compression:
Stored size: 523 Bytes
Contents
{ :miles => { :kilometres => 1.609344 }, :kilograms => { :grams => 1000.0, :pounds => 2.20462262, :short_tons => 0.00110231131, :tons => 0.00110231131 }, :tons => { :pounds => 2000.0 }, :gallons => { :litres => 3.7854118 }, :cubic_feet => { :cubic_meters => 0.0283168466 }, :miles_per_gallon => { :kilometres_per_litre => 0.425143707 } }.each do |from_unit, to_units| to_units.each do |to_unit, rate| Conversions.register(from_unit, to_unit, rate) end end
Version data entries
9 entries across 9 versions & 3 rubygems