Sha256: ae7e16e2c65e7661d808160a37b96ce192f9b8e81829dcbfe6eb4171835c7db4
Contents?: true
Size: 671 Bytes
Versions: 3
Compression:
Stored size: 671 Bytes
Contents
# measurement_extensions.rb: Core extensions for Prawn::Measurements # # Copyright December 2008, Florian Witteler. All Rights Reserved. # # This is free software. Please see the LICENSE and COPYING files for details. require_relative 'measurements' # @group Stable API class Numeric include Prawn::Measurements # prawns' basic unit is PostScript-Point # 72 points per inch # @group Experimental API def mm mm2pt(self) end def cm cm2pt(self) end def dm dm2pt(self) end def m m2pt(self) end def in in2pt(self) end def yd yd2pt(self) end def ft ft2pt(self) end def pt pt2pt(self) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
prawn-2.2.2 | lib/prawn/measurement_extensions.rb |
prawn-2.2.1 | lib/prawn/measurement_extensions.rb |
prawn-2.2.0 | lib/prawn/measurement_extensions.rb |