Class: Chef::ChefFS::FileSystem::FileSystemRootDir

Inherits:
FileSystemEntry show all
Defined in:
lib/chef/chef_fs/file_system/file_system_root_dir.rb

Instance Attribute Summary

Attributes inherited from FileSystemEntry

#file_path

Attributes inherited from BaseFSObject

#name, #parent, #path

Instance Method Summary collapse

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