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