Sha256: 52fd95bffc44da87103de8b29806244648b0d43837bdd92e93c88d39934dce54
Contents?: true
Size: 669 Bytes
Versions: 1
Compression:
Stored size: 669 Bytes
Contents
Measured::Weight = Measured.build do si_unit :g, aliases: [:gram, :grams] unit :t, value: "1000 kg", aliases: [:metric_ton, :metric_tons] unit :slug, value: "14.593903 kg", aliases: [:slugs] unit :N, value: "0.10197162129779283 kg", aliases: [:newtons, :newton] unit :long_ton, value: "2240 lb", aliases: [:long_tons, :weight_ton, :weight_tons, 'W/T', :imperial_ton, :imperial_tons, :displacement_ton, :displacement_tons] unit :short_ton, value: "2000 lb", aliases: [:short_tons] unit :lb, value: "0.45359237 kg", aliases: [:lbs, :pound, :pounds] unit :oz, value: "1/16 lb", aliases: [:ounce, :ounces] cache Measured::Cache::Json, "weight.json" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
measured-2.5.0 | lib/measured/units/weight.rb |