Module: Kernel

Defined in:
lib/pdf_filler.rb

Instance Method Summary collapse

Instance Method Details

#PDFBookObject

A shortcut kernel method for creating a new PDF Book without having to specify the full path to the book. Therefore,

  • PDFBook()

and

  • GBDev::PDF::Book.new

are the same thing.



46
47
48
# File 'lib/pdf_filler.rb', line 46

def PDFBook()
  GBDev::PDF::Book.new
end

#PDFPage(template) ⇒ Object

A shortcut kernel method for creating a new PDF Page without having to specify the full path to the page. Therefore,

  • PDFPage(template)

and

  • GBDev::PDF::Page.new(template)

are the same thing.



36
37
38
# File 'lib/pdf_filler.rb', line 36

def PDFPage(template)
  GBDev::PDF::Page.new(template)
end