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
- #scope ⇒ Object
- #scoped? ⇒ Boolean
Methods inherited from FileSystem
#all_typed_pathes, #config_file_loader, #config_pathes, #exist?, #file, for_job_path, for_options, #glob, #home_path, home_path, #inspect, #job_dir, #job_file, #parameter_file, #parameter_file_loader, parse_job_path, #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.
155 156 157 158 159 |
# File 'lib/bricolage/filesystem.rb', line 155 def initialize(parent, id) super parent.relative(id), parent.environment @parent = parent @id = id end |
Instance Method Details
#scope ⇒ Object
165 166 167 |
# File 'lib/bricolage/filesystem.rb', line 165 def scope @id end |
#scoped? ⇒ Boolean
161 162 163 |
# File 'lib/bricolage/filesystem.rb', line 161 def scoped? true end |