Method: Puppet::Settings::FileSetting#open
- Defined in:
- lib/puppet/settings/file_setting.rb
#open(option = 'r', &block) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
201 202 203 204 205 |
# File 'lib/puppet/settings/file_setting.rb', line 201 def open(option = 'r', &block) controlled_access do |mode| Puppet::FileSystem.open(file, mode, option, &block) end end |