Methods

Prawn::Document::Internals

Public Instance Methods

render_body(output) click to toggle source

Prawn/Security patches render_body so that it spits out encrypted content iff the document is encrypted.

     # File lib/prawn/security.rb, line 259
259:   def render_body(output)
260:     @store.each do |ref|
261:       ref.offset = output.size
262:       output << (@encrypted ? ref.encrypted_object(user_encryption_key) : 
263:                               ref.object)
264:     end
265:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.