Class: Chef::ChefFS::FileSystem::Repository::ContainersDir

Inherits:
Directory
  • Object
show all
Defined in:
lib/chef/chef_fs/file_system/repository/containers_dir.rb

Instance Attribute Summary

Attributes inherited from Directory

#file_path, #name, #parent, #path

Instance Method Summary collapse

Methods inherited from Directory

#can_have_child?, #child, #children, #create, #create_child, #delete, #dir?, #dir_ls, #empty?, #exists?, #fs_entry_valid?, #initialize, #name_valid?, #path_for_printing, #root

Constructor Details

This class inherits a constructor from Chef::ChefFS::FileSystem::Repository::Directory

Instance Method Details

#make_child_entry(child_name) ⇒ Object



30
31
32
# File 'lib/chef/chef_fs/file_system/repository/containers_dir.rb', line 30

def make_child_entry(child_name)
  Container.new(child_name, self)
end