Class: Measurements::Unit::Pint
- Inherits:
-
Object
- Object
- Measurements::Unit::Pint
- Includes:
- BaseUnit
- Defined in:
- lib/measurements/unit/pint.rb
Overview
The implementation of a pint. A pint is a fluid unit that belongs to the cooking unit system.
Constant Summary collapse
- UNIT_TYPE =
Type for the Pint unit
Measurements::Type::FLUID
- UNIT_SYSTEM =
System type for the Pint 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