Method: PythonConfig::ConfigParser#write

Defined in:
lib/amp/dependencies/python_config.rb

#write(file) ⇒ Object Also known as: save

Writes the configuration to a given file.



131
132
133
134
135
# File 'lib/amp/dependencies/python_config.rb', line 131

def write(file)
  File.open(file, "w") do |out|
    out.write self.to_s
  end
end