Class: Enums::DistanceUnits
- Inherits:
-
Object
- Object
- Enums::DistanceUnits
- Defined in:
- lib/enums/distance_units.rb
Overview
Enumerator class for diatnce units.
Class Method Summary collapse
-
.centimeters ⇒ DistanceUnits
DistanceUnits object corresponding to elasticsearch option of ‘cm’.
-
.feet ⇒ DistanceUnits
DistanceUnits object corresponding to elasticsearch option of ‘ft’.
-
.inches ⇒ DistanceUnits
DistanceUnits object corresponding to elasticsearch option of ‘in’.
-
.kilometers ⇒ DistanceUnits
DistanceUnits object corresponding to elasticsearch option of ‘kme’.
-
.meters ⇒ DistanceUnits
DistanceUnits object corresponding to elasticsearch option of ‘m’.
-
.miles ⇒ DistanceUnits
DistanceUnits object corresponding to elasticsearch option of ‘mi’.
-
.millimeters ⇒ DistanceUnits
DistanceUnits object corresponding to elasticsearch option of ‘mm’.
-
.nauticalmiles ⇒ DistanceUnits
DistanceUnits object corresponding to elasticsearch option of ‘nmi’.
-
.yards ⇒ DistanceUnits
DistanceUnits object corresponding to elasticsearch option of ‘yd’.
Class Method Details
.centimeters ⇒ DistanceUnits
Returns DistanceUnits object corresponding to elasticsearch option of ‘cm’.
|
# File 'lib/enums/distance_units.rb', line 51
|
.feet ⇒ DistanceUnits
Returns DistanceUnits object corresponding to elasticsearch option of ‘ft’.
|
# File 'lib/enums/distance_units.rb', line 31
|
.inches ⇒ DistanceUnits
Returns DistanceUnits object corresponding to elasticsearch option of ‘in’.
|
# File 'lib/enums/distance_units.rb', line 36
|
.kilometers ⇒ DistanceUnits
Returns DistanceUnits object corresponding to elasticsearch option of ‘kme’.
|
# File 'lib/enums/distance_units.rb', line 41
|
.meters ⇒ DistanceUnits
Returns DistanceUnits object corresponding to elasticsearch option of ‘m’.
|
# File 'lib/enums/distance_units.rb', line 46
|
.miles ⇒ DistanceUnits
Returns DistanceUnits object corresponding to elasticsearch option of ‘mi’.
|
# File 'lib/enums/distance_units.rb', line 21
|
.millimeters ⇒ DistanceUnits
Returns DistanceUnits object corresponding to elasticsearch option of ‘mm’.
|
# File 'lib/enums/distance_units.rb', line 56
|
.nauticalmiles ⇒ DistanceUnits
Returns DistanceUnits object corresponding to elasticsearch option of ‘nmi’.
|
# File 'lib/enums/distance_units.rb', line 61
|
.yards ⇒ DistanceUnits
Returns DistanceUnits object corresponding to elasticsearch option of ‘yd’.
|
# File 'lib/enums/distance_units.rb', line 26
|