Class: RPDF::PDFNull

Inherits:
PDFObject show all
Defined in:
lib/rpdf/pdfnull.rb

Overview

Null Object: null

PDFRef15 p39

Instance Attribute Summary

Attributes inherited from PDFObject

#generation_number, #object_number

Instance Method Summary collapse

Methods inherited from PDFObject

#indirect?, #invalidate, #invalidated?, #to_pdf, #to_ref

Constructor Details

#initializePDFNull

Returns a new instance of PDFNull.



9
10
11
# File 'lib/rpdf/pdfnull.rb', line 9

def initialize
  super
end

Instance Method Details

#to_sObject



13
14
15
# File 'lib/rpdf/pdfnull.rb', line 13

def to_s
  "null"
end