Method: Puppet::Util::IniConfig::PhysicalFile#format

Defined in:
lib/puppet/util/inifile.rb

#formatObject



209
210
211
212
213
214
215
216
217
218
219
220
221
# File 'lib/puppet/util/inifile.rb', line 209

def format
  text = ""

  @contents.each do |content|
    if content.is_a? Section
      text << content.format
    else
      text << content
    end
  end

  text
end