Class: RGhost::DSCEntry
Overview
Specifiesnew DSC (Document Structuring Conventions)
Instance Method Summary collapse
-
#initialize {|@entries=[]| ... } ⇒ DSCEntry
constructor
Example DSCEntry.new do |entry| entry << “BoundingBox: 0 0 612 792” entry << “Pages: 45” entry << “BeginSetup” end.
- #ps ⇒ Object
Methods inherited from PsObject
#<<, #call, #graphic_scope, #raw, #set, #to_s
Constructor Details
Instance Method Details
#ps ⇒ Object
15 16 17 18 |
# File 'lib/rghost/dsc_entry.rb', line 15 def ps @entries.map{|e| "%%#{e}\n"}.to_s end |