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.



281
282
283
# File 'lib/notesgrip/NotesRichTextItem.rb', line 281

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

Instance Method Details

#fullpath(filename) ⇒ Object



285
286
287
# File 'lib/notesgrip/NotesRichTextItem.rb', line 285

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