class Puppet::Settings::DirectorySetting

Public Instance Methods

open_file(filename, option = 'r', &block) click to toggle source

@api private

# File lib/puppet/settings/directory_setting.rb, line 7
def open_file(filename, option = 'r', &block)
  controlled_access do |mode|
    Puppet::FileSystem.open(filename, mode, option, &block)
  end
end
type() click to toggle source
# File lib/puppet/settings/directory_setting.rb, line 2
def type
  :directory
end