# File lib/ole/storage/base.rb, line 896 def inspect str = "#<Dirent:#{name.inspect}" # perhaps i should remove the data snippet. its not that useful anymore. # there is also some dir specific stuff. like clsid, flags, that i should # probably include if file? tmp = read 9 data = tmp.length == 9 ? tmp[0, 5] + '...' : tmp str << " size=#{size}" + "#{modify_time ? ' modify_time=' + modify_time.to_s.inspect : nil}" + " data=#{data.inspect}" end str + '>' end