Class: RGhost::Units::Cm
Overview
n/72 * 2.545
Instance Attribute Summary
Attributes inherited from Unit
Class Method Summary collapse
Methods inherited from Unit
Methods inherited from PsObject
#<<, #call, #graphic_scope, #initialize, #ps, #raw, #set, #to_s
Constructor Details
This class inherits a constructor from RGhost::Units::Unit
Class Method Details
.define ⇒ Object
35 36 37 38 |
# File 'lib/rghost/units.rb', line 35 def Cm.define Function.new("cm","72 div 2.545 mul") end |