enum Measure::Weight::Unit
Overview
The units available to Weight instances. Note that there are multiple
aliases of each one. This allows you to say weight.to(:pounds) or
weight.to(:kilograms).
Defined in:
weight.crEnum Members
-
Gram =
0 -
Grams =
0 -
G =
0 -
Kilogram =
1 -
Kilograms =
1 -
KG =
1 -
Milligram =
2 -
Milligrams =
2 -
MG =
2 -
Pound =
3 -
Pounds =
3 -
LB =
3 -
LBS =
3 -
Ounce =
4 -
Ounces =
4 -
OZ =
4 -
Ton =
5 -
Tons =
5 -
T =
5
Instance Method Summary
- #g?
- #gram?
- #grams?
- #kg?
- #kilogram?
- #kilograms?
- #lb?
- #lbs?
- #mg?
- #milligram?
- #milligrams?
- #ounce?
- #ounces?
- #oz?
- #pound?
- #pounds?
- #t?
- #ton?
- #tons?