lib/ole/storage/file_system.rb in ruby-ole-1.2.10.1 vs lib/ole/storage/file_system.rb in ruby-ole-1.2.11

- old
+ new

@@ -1,5 +1,7 @@ +# encoding: ASCII-8BIT + # # = Introduction # # This file intends to provide file system-like api support, a la <tt>zip/zipfilesystem</tt>. # @@ -27,12 +29,10 @@ # # - should look at profiles before and after switching ruby-msg to use # the filesystem api. # -require 'ole/storage' - module Ole # :nodoc: class Storage def file @file ||= FileClass.new self end @@ -49,10 +49,10 @@ until path.empty? part = path.shift next if part.empty? return nil if dirent.file? return nil unless dirent = dirent/part - end + end dirent end class FileClass class Stat