Class: Numeric
Experimental API
collapse
#cm2mm, #cm2pt, #dm2mm, #dm2pt, #ft2in, #ft2pt, #in2pt, #m2mm, #m2pt, #mm2pt, #pt2mm, #pt2pt, #yd2in, #yd2pt
Instance Method Details
#cm ⇒ Object
24
25
26
|
# File 'lib/prawn/measurement_extensions.rb', line 24
def cm
cm2pt(self)
end
|
#dm ⇒ Object
28
29
30
|
# File 'lib/prawn/measurement_extensions.rb', line 28
def dm
dm2pt(self)
end
|
#ft ⇒ Object
44
45
46
|
# File 'lib/prawn/measurement_extensions.rb', line 44
def ft
ft2pt(self)
end
|
#in ⇒ Object
36
37
38
|
# File 'lib/prawn/measurement_extensions.rb', line 36
def in
in2pt(self)
end
|
#m ⇒ Object
32
33
34
|
# File 'lib/prawn/measurement_extensions.rb', line 32
def m
m2pt(self)
end
|
#mm ⇒ Object
20
21
22
|
# File 'lib/prawn/measurement_extensions.rb', line 20
def mm
mm2pt(self)
end
|
#pt ⇒ Object
48
49
50
|
# File 'lib/prawn/measurement_extensions.rb', line 48
def pt
pt2pt(self)
end
|
#yd ⇒ Object
40
41
42
|
# File 'lib/prawn/measurement_extensions.rb', line 40
def yd
yd2pt(self)
end
|