lib/prawn/measurements.rb in prawn-2.2.2 vs lib/prawn/measurements.rb in prawn-2.3.0

- old
+ new

@@ -1,9 +1,13 @@ +# frozen_string_literal: true + # measurements.rb: Conversions from other measurements to PDF points # # Copyright December 2008, Florian Witteler. All Rights Reserved. # + +# rubocop: disable Naming/MethodParameterName module Prawn # @group Stable API module Measurements # metric conversions @@ -65,5 +69,6 @@ def pt2mm(pt) pt * 1 / mm2pt(1) # (25.4 / 72) end end end +# rubocop: enable Naming/MethodParameterName