Class: FuzzyFileFinder::Directory
- Inherits:
-
Object
- Object
- FuzzyFileFinder::Directory
- Defined in:
- lib/dotfiles/vim/ruby/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.
83 84 85 86 |
# File 'lib/dotfiles/vim/ruby/fuzzy_file_finder.rb', line 83 def initialize(name, is_root=false) @name = name @is_root = is_root end |
Instance Attribute Details
#name ⇒ Object (readonly)
:nodoc:
81 82 83 |
# File 'lib/dotfiles/vim/ruby/fuzzy_file_finder.rb', line 81 def name @name end |
Instance Method Details
#root? ⇒ Boolean
88 89 90 |
# File 'lib/dotfiles/vim/ruby/fuzzy_file_finder.rb', line 88 def root? is_root end |