Class: RGhost::Units::Cm

Inherits:
Unit show all
Defined in:
lib/rghost/units.rb

Overview

n/72 * 2.545

Instance Attribute Summary

Attributes inherited from Unit

#value

Class Method Summary collapse

Methods inherited from Unit

#initialize, #ps

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

.defineObject



35
36
37
38
# File 'lib/rghost/units.rb', line 35

def Cm.define
  Function.new("cm","72 div 2.545 mul")

end