Here are some examples of how to use the library functionality, categorised roughly by purpose. Reading and writing files within an OLE container The recommended way to manipulate the contents is via the “file_system” API, whereby you use Ole::Storage instance methods similar to the regular File and Dir class methods. ole = Ole::Storage.open('oleWithDirs.ole', 'rb+') p ole.dir.entries('.') # => ["