Class: Chef::ChefFS::FileSystem::FileSystemRootDir
- Inherits:
-
FileSystemEntry
- Object
- BaseFSObject
- BaseFSDir
- FileSystemEntry
- Chef::ChefFS::FileSystem::FileSystemRootDir
- Defined in:
- lib/chef/chef_fs/file_system/file_system_root_dir.rb
Instance Attribute Summary
Attributes inherited from FileSystemEntry
Attributes inherited from BaseFSObject
Instance Method Summary collapse
-
#initialize(file_path) ⇒ FileSystemRootDir
constructor
A new instance of FileSystemRootDir.
Methods inherited from FileSystemEntry
#children, #create_child, #delete, #dir?, #path_for_printing, #read, #write
Methods inherited from BaseFSDir
#can_have_child?, #child, #dir?
Methods inherited from BaseFSObject
#can_have_child?, #child, #compare_to, #dir?, #exists?, #path_for_printing, #root
Constructor Details
#initialize(file_path) ⇒ FileSystemRootDir
Returns a new instance of FileSystemRootDir.
25 26 27 |
# File 'lib/chef/chef_fs/file_system/file_system_root_dir.rb', line 25 def initialize(file_path) super("", nil, file_path) end |