Class | Origami::ExternalFile |
In: |
sources/parser/file.rb
|
Parent: | FileSpec |
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. |
# File sources/parser/file.rb, line 159 159: def initialize(dos, mac = "", unix = "", indirect = false) 160: 161: if not mac.empty? or not unix.empty? 162: super({:DOS => Filename.DOS(dos), :Mac => Filename.Mac(mac), :Unix => Filename.Unix(unix)}, indirect) 163: else 164: super({:F => dos}, indirect) 165: end 166: 167: end