Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/float.rb
Overview
Extension of the standard Float class with PDF - related units conversions
Instance Method Summary collapse
-
#cm ⇒ Object
cm2pts.
-
#in ⇒ Object
in2pts.
Instance Method Details
#cm ⇒ Object
cm2pts
9 10 11 |
# File 'lib/float.rb', line 9 def cm PDF::Writer.cm2pts(self) end |
#in ⇒ Object
in2pts
14 15 16 |
# File 'lib/float.rb', line 14 def in PDF::Writer.in2pts(self) end |