Class: DirTravel::DirEntry
- Defined in:
- lib/dirtravel.rb
Overview
Directory type entry.
Instance Attribute Summary
Attributes inherited from Entry
Instance Method Summary collapse
-
#initialize(name, abspath = nil) ⇒ DirEntry
constructor
Set name and abspath if given.
Methods inherited from Entry
#abspath, #dir, #files, #parts, #path, #relative?, #rename, #select_level, #stat, #subpath, #tip
Constructor Details
#initialize(name, abspath = nil) ⇒ DirEntry
Set name and abspath if given.
174 175 176 177 178 179 |
# File 'lib/dirtravel.rb', line 174 def initialize( name, abspath = nil ) super( name ) if abspath @abspath = abspath end end |