class Numeric

@group Stable API

Public Instance Methods

cm() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 22
def cm
  cm2pt(self)
end
dm() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 26
def dm
  dm2pt(self)
end
ft() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 42
def ft
  ft2pt(self)
end
in() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 34
def in
  in2pt(self)
end
m() click to toggle source
# File lib/prawn/measurement_extensions.rb, line 30
def m
  m2pt(self)
end
mm() click to toggle source

@group Experimental API

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