class Numeric

@group Stable API

Public Instance Methods

cm() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 24
def cm
  cm2pt(self)
end
dm() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 28
def dm
  dm2pt(self)
end
ft() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 44
def ft
  ft2pt(self)
end
in() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 36
def in
  in2pt(self)
end
m() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 32
def m
  m2pt(self)
end
mm() click to toggle source

@group Experimental API

# File lib/prawn/measurement_extensions.rb, line 20
def mm
  mm2pt(self)
end
pt() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 48
def pt
  pt2pt(self)
end
yd() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 40
def yd
  yd2pt(self)
end