Class: Chef::ChefFS::FileSystem::Repository::PolicyGroup

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

Instance Attribute Summary

Attributes inherited from BaseFile

#data_handler, #file_path, #name, #parent, #path, #write_pretty_json

Instance Method Summary collapse

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) ⇒ PolicyGroup

Returns a new instance of PolicyGroup.



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

def initialize(name, parent)
  @data_handler = Chef::ChefFS::DataHandler::PolicyGroupDataHandler.new
  super
end