Module: FileSystemObject
- Defined in:
- lib/acrobat/app.rb
Class Method Summary collapse
Class Method Details
.instance ⇒ Object
9 10 11 12 13 14 |
# File 'lib/acrobat/app.rb', line 9 def FileSystemObject.instance unless @instance @instance = WIN32OLE.new('Scripting.FileSystemObject') end return @instance end |
.windows_path(path) ⇒ Object
16 17 18 |
# File 'lib/acrobat/app.rb', line 16 def FileSystemObject.windows_path(path) FileSystemObject.instance.GetAbsolutePathname(path.to_s) end |