Module: FileSystemObject
- Defined in:
- lib/acrobat/app.rb
Class Method Summary collapse
Class Method Details
.instance ⇒ Object
15 16 17 18 |
# File 'lib/acrobat/app.rb', line 15 def self.instance @instance ||= WIN32OLE.new("Scripting.FileSystemObject") @instance end |
.windows_path(path) ⇒ Object
20 21 22 |
# File 'lib/acrobat/app.rb', line 20 def self.windows_path(path) FileSystemObject.instance.GetAbsolutePathname(path.to_s) end |