Class: Chef::ChefFS::FileSystem::Repository::Policy

Inherits:
BaseFile
  • Object
show all
Defined in:
lib/chef/chef_fs/file_system/repository/policy.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) ⇒ Policy


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

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