Class: CC::Workspace::PathTree::FileNode
- Inherits:
-
Object
- Object
- CC::Workspace::PathTree::FileNode
- Defined in:
- lib/cc/workspace/path_tree.rb
Instance Method Summary collapse
- #add ⇒ Object
- #all_paths ⇒ Object
-
#initialize(root_path) ⇒ FileNode
constructor
A new instance of FileNode.
- #populated? ⇒ Boolean
- #remove ⇒ Object
Constructor Details
#initialize(root_path) ⇒ FileNode
Returns a new instance of FileNode.
88 89 90 |
# File 'lib/cc/workspace/path_tree.rb', line 88 def initialize(root_path) @root_path = root_path.dup.freeze end |
Instance Method Details
#add ⇒ Object
104 105 106 |
# File 'lib/cc/workspace/path_tree.rb', line 104 def add(*) # this space intentionally left blank end |
#all_paths ⇒ Object
92 93 94 |
# File 'lib/cc/workspace/path_tree.rb', line 92 def all_paths [@root_path] end |
#populated? ⇒ Boolean
96 97 98 |
# File 'lib/cc/workspace/path_tree.rb', line 96 def populated? false end |
#remove ⇒ Object
100 101 102 |
# File 'lib/cc/workspace/path_tree.rb', line 100 def remove(*) # this space intentionally left blank end |