Class: Measurements::Unit::Inch

Inherits:
Object
  • Object
show all
Includes:
BaseUnit
Defined in:
lib/measurements/unit/inch.rb

Overview

The implementation of a inch. A inch is a unit that belongs to the imperial unit system.

Constant Summary collapse

UNIT_TYPE =

Type for the Inch unit

Measurements::Type::BASE
UNIT_SYSTEM =

System type for the Inch unit

Measurements::System::IMPERIAL

Instance Attribute Summary

Attributes included from BaseUnit

#quantity, #type

Method Summary

Methods included from BaseUnit

#convert_to, #initialize, #inspect, #smart_convert, #type, #unit, #unit_abbr, #unit_system, #unit_type