Class: Notesgrip::FileSystemObject

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/notesgrip/NotesRichTextItem.rb

Instance Method Summary collapse

Constructor Details

#initializeFileSystemObject

Returns a new instance of FileSystemObject.



375
376
377
# File 'lib/notesgrip/NotesRichTextItem.rb', line 375

def initialize
  @body =  WIN32OLE.new('Scripting.FileSystemObject')
end

Instance Method Details

#fullpath(filename) ⇒ Object



379
380
381
# File 'lib/notesgrip/NotesRichTextItem.rb', line 379

def fullpath(filename)
  @body.getAbsolutePathName(filename)
end