lib/measured/units/length.rb in measured-2.4.0 vs lib/measured/units/length.rb in measured-2.5.0
- old
+ new
@@ -3,6 +3,8 @@
unit :in, value: "0.0254 m", aliases: [:inch, :inches]
unit :ft, value: "12 in", aliases: [:foot, :feet]
unit :yd, value: "3 ft", aliases: [:yard, :yards]
unit :mi, value: "5280 ft", aliases: [:mile, :miles]
+
+ cache Measured::Cache::Json, "length.json"
end