lib/measured/units/length.rb in measured-2.5.0 vs lib/measured/units/length.rb in measured-2.5.1
- old
+ new
@@ -1,4 +1,5 @@
+# frozen_string_literal: true
Measured::Length = Measured.build do
si_unit :m, aliases: [:meter, :metre, :meters, :metres]
unit :in, value: "0.0254 m", aliases: [:inch, :inches]
unit :ft, value: "12 in", aliases: [:foot, :feet]