class Origami::ExternalFile
A class representing a file outside the current PDF
file.
Public Class Methods
new(dos, mac: "", unix: "")
click to toggle source
Creates a new external file specification.
- dos
-
The Windows path to this file.
- mac
-
The MacOS path to this file.
- unix
-
The UNIX path to this file.
Calls superclass method
Origami::Dictionary::new
# File lib/origami/filespec.rb, line 164 def initialize(dos, mac: "", unix: "") if not mac.empty? or not unix.empty? super(:DOS => Filename.DOS(dos), :Mac => Filename.Mac(mac), :Unix => Filename.Unix(unix)) else super(:F => dos) end end