Class: SiteBuilder::FileEntry
- Defined in:
- lib/sitebuilder/filesystem.rb
Overview
I represent a file in the filesystem
Instance Attribute Summary
Attributes inherited from FsEntry
Instance Method Summary collapse
-
#traverse(traverser) ⇒ Object
I am visitable with a traverser.
Methods inherited from FsEntry
#==, #basename, #ctime, #dirname, #extname, #extnless, #fs_entry_from, fs_entry_from, #initialize, #size
Constructor Details
This class inherits a constructor from SiteBuilder::FsEntry
Instance Method Details
#traverse(traverser) ⇒ Object
I am visitable with a traverser.
61 62 63 |
# File 'lib/sitebuilder/filesystem.rb', line 61 def traverse(traverser) traverser.traverse_file(self) end |