Class: FuzzyFileFinder::Directory
- Defined in:
- lib/diakonos/vendor/fuzzy_file_finder.rb
Overview
Used internally to represent a subdirectory within the directory tree.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
:nodoc:.
Instance Method Summary collapse
-
#initialize(name, is_root = false) ⇒ Directory
constructor
A new instance of Directory.
- #root? ⇒ Boolean
Constructor Details
#initialize(name, is_root = false) ⇒ Directory
Returns a new instance of Directory.
76 77 78 79 |
# File 'lib/diakonos/vendor/fuzzy_file_finder.rb', line 76 def initialize(name, is_root=false) @name = name @is_root = is_root end |
Instance Attribute Details
#name ⇒ Object (readonly)
:nodoc:
74 75 76 |
# File 'lib/diakonos/vendor/fuzzy_file_finder.rb', line 74 def name @name end |
Instance Method Details
#root? ⇒ Boolean
81 82 83 |
# File 'lib/diakonos/vendor/fuzzy_file_finder.rb', line 81 def root? is_root end |