Method: UnitMeasurements::Unit#name

Defined in:
lib/unit_measurements/unit.rb

#nameString (readonly)

The name of the unit.

Returns:

  • (String)

    Name of the unit.

Author:

Since:

  • 1.0.0



20
21
22
# File 'lib/unit_measurements/unit.rb', line 20

def name
  @name
end