lib/vendor/quantified/lib/quantified/mass.rb in active_shipping-0.12.4 vs lib/vendor/quantified/lib/quantified/mass.rb in active_shipping-0.12.5

- old
+ new

@@ -1,19 +1,19 @@ module Quantified class Mass < Attribute system :metric do primitive :gram - + one :milligram, :is => Mass.new(0.001, :grams) one :kilogram, :is => Mass.new(1000, :grams) end - + system :imperial do primitive :ounce one :ounce, :is => Mass.new(28.349523125, :grams) - + one :pound, :is => Mass.new(16, :ounces) one :stone, :is => Mass.new(14, :pounds) one :short_ton, :is => Mass.new(2000, :pounds) end end -end \ No newline at end of file +end