Class: OOFile::FileEntry

Inherits:
FsEntry show all
Defined in:
lib/oofile/filesystem.rb

Overview

I represent a file in the filesystem

Instance Attribute Summary

Attributes inherited from FsEntry

#path

Instance Method Summary collapse

Methods inherited from FsEntry

#==, #basename, #ctime, #dirname, #extname, #extnless, #from, from, #initialize, #inspect, #mtime, #size

Constructor Details

This class inherits a constructor from OOFile::FsEntry

Instance Method Details

#traverse(traverser) ⇒ Object

I am visitable with a traverser.



73
74
75
# File 'lib/oofile/filesystem.rb', line 73

def traverse(traverser)
  traverser.traverse_file(self)
end