Class Array
In: lib/ruby_units/array.rb
Parent: Object

make a unit from an array [1, ‘mm’].unit => 1 mm

Methods

to_unit   u   unit  

Public Instance methods

u(other = nil)

Alias for to_unit

unit(other = nil)

Alias for to_unit

[Validate]