Method: Jpdfunite::PdfFile#initialize
- Defined in:
- lib/jpdfunite.rb
#initialize(path, title = File.basename(path, ".pdf")) ⇒ PdfFile
Returns a new instance of PdfFile.
89 90 91 92 93 |
# File 'lib/jpdfunite.rb', line 89 def initialize(path, title = File.basename(path, ".pdf")) @path = path.shellescape super(title) get_pages end |