Class: Measurements::Unit::Ounce
- Inherits:
-
Object
- Object
- Measurements::Unit::Ounce
- Includes:
- BaseUnit
- Defined in:
- lib/measurements/unit/ounce.rb
Overview
The implementation of a ounce. A ounce is a neutral unit that belongs to the cooking unit system.
Constant Summary collapse
- UNIT_TYPE =
Type for the Ounce unit
Measurements::Type::NEUTRAL
- UNIT_SYSTEM =
System type for the Ounce unit
Measurements::System::COOK
Instance Attribute Summary
Attributes included from BaseUnit
Method Summary
Methods included from BaseUnit
#convert_to, #initialize, #inspect, #smart_convert, #type, #unit, #unit_abbr, #unit_system, #unit_type