Class: RGhost::NewPath
Overview
Initializes the current path to be empty, causing the current point to become undefined.
Instance Method Summary collapse
-
#initialize(&block) ⇒ NewPath
constructor
A new instance of NewPath.
- #ps ⇒ Object
Methods inherited from PsObject
#<<, #call, #graphic_scope, #raw, #set, #to_s
Constructor Details
Instance Method Details
#ps ⇒ Object
14 15 16 |
# File 'lib/rghost/newpath.rb', line 14 def ps "newpath #{@body} closepath" end |