Class: Bricolage::ScopedFileSystem
- Inherits:
-
FileSystem
- Object
- FileSystem
- Bricolage::ScopedFileSystem
- Defined in:
- lib/bricolage/filesystem.rb
Instance Attribute Summary
Attributes inherited from FileSystem
Instance Method Summary collapse
-
#initialize(parent, id) ⇒ ScopedFileSystem
constructor
A new instance of ScopedFileSystem.
- #root ⇒ Object
- #scoped? ⇒ Boolean
Methods inherited from FileSystem
#all_typed_pathes, #config_file_loader, #config_pathes, #exist?, extract_home_dirs, #file, for_option_pathes, #glob, #home_path, #inspect, #job_dir, #job_file, #parameter_file, #parameter_file_loader, #relative_path, #root_relative_path, #subdirectories, #subsystem, #subsystems, #typed_file, #typed_name, #typed_pathes
Constructor Details
#initialize(parent, id) ⇒ ScopedFileSystem
Returns a new instance of ScopedFileSystem.
154 155 156 157 158 |
# File 'lib/bricolage/filesystem.rb', line 154 def initialize(parent, id) super parent.relative(id), parent.environment @parent = parent @id = id end |
Instance Method Details
#root ⇒ Object
164 165 166 |
# File 'lib/bricolage/filesystem.rb', line 164 def root @parent.root end |
#scoped? ⇒ Boolean
160 161 162 |
# File 'lib/bricolage/filesystem.rb', line 160 def scoped? true end |