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