Class: Chef::ChefFS::FileSystem::Repository::Container
- Defined in:
- lib/chef/chef_fs/file_system/repository/container.rb
Instance Attribute Summary
Attributes inherited from BaseFile
#data_handler, #file_path, #name, #parent, #path, #write_pretty_json
Instance Method Summary collapse
-
#initialize(name, parent) ⇒ Container
constructor
A new instance of Container.
Methods inherited from BaseFile
#bare_name, #can_have_child?, #compare_to, #create, #delete, #dir?, #exists?, #fs_entry_valid?, #is_json_file?, #is_ruby_file?, #minimize, #name_valid?, #path_for_printing, #read, #root, #write
Constructor Details
#initialize(name, parent) ⇒ Container
Returns a new instance of Container.
29 30 31 32 |
# File 'lib/chef/chef_fs/file_system/repository/container.rb', line 29 def initialize(name, parent) @data_handler = Chef::ChefFS::DataHandler::ContainerDataHandler.new super end |