Class: Jpdfunite::PdfFile
Instance Attribute Summary collapse
-
#pages ⇒ Object
readonly
Returns the value of attribute pages.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Attributes inherited from Outline
Instance Method Summary collapse
-
#initialize(path, title = path) ⇒ PdfFile
constructor
A new instance of PdfFile.
Methods inherited from Outline
Constructor Details
#initialize(path, title = path) ⇒ PdfFile
Returns a new instance of PdfFile.
84 85 86 87 88 |
# File 'lib/jpdfunite.rb', line 84 def initialize(path, title = path) @path = path.shellescape super(title) get_pages end |
Instance Attribute Details
#pages ⇒ Object (readonly)
Returns the value of attribute pages.
82 83 84 |
# File 'lib/jpdfunite.rb', line 82 def pages @pages end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
82 83 84 |
# File 'lib/jpdfunite.rb', line 82 def path @path end |