Method: UnitMeasurements::Unit#aliases

Defined in:
lib/unit_measurements/unit.rb

#aliasesSet<String> (readonly)

A set of alternative names for the unit.

Returns:

  • (Set<String>)

    A set of alternative names.

Author:

Since:

  • 1.0.0



38
39
40
# File 'lib/unit_measurements/unit.rb', line 38

def aliases
  @aliases
end