class Chef::ChefFS::FileSystem::Repository::Acl

Public Class Methods

new(name, parent) click to toggle source
Calls superclass method
# File lib/chef/chef_fs/file_system/repository/acl.rb, line 29
def initialize(name, parent)
  @data_handler = Chef::ChefFS::DataHandler::AclDataHandler.new
  super
end

Public Instance Methods

bare_name() click to toggle source
# File lib/chef/chef_fs/file_system/repository/acl.rb, line 34
def bare_name
  if name == "organization" && parent.is_a?(AclDir)
    "organization.json"
  else
    name
  end
end