Class: RGhost::Units::Inch

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

Overview

n*72

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



44
45
46
# File 'lib/rghost/units.rb', line 44

def Inch.define
  RGhost::Function.new("inch","72 mul")
end