Class: Measurements::Unit::League

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

Overview

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

Constant Summary collapse

UNIT_TYPE =

Type for the League unit

Measurements::Type::BASE
UNIT_SYSTEM =

System type for the League 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