Object
Returns the object definition for the object this references, keyed from key.
# File lib/prawn/security.rb, line 240 240: def encrypted_object(key) 241: @on_encode.call(self) if @on_encode 242: output = "#{@identifier} #{gen} obj\n" << 243: Prawn::EncryptedPdfObject(data, key, @identifier, gen) << "\n" 244: if @stream 245: output << "stream\n" << 246: Document::Security.encrypt_string(@stream, key, @identifier, gen) << 247: "\nendstream\n" 248: end 249: output << "endobj\n" 250: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.