Method: Mysql2psql::Config#reset_configfile
- Defined in:
- lib/mysql2psql/config.rb
#reset_configfile(filepath) ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/mysql2psql/config.rb', line 22 def reset_configfile(filepath) file = File.new(filepath,'w') self.class.template.each_line do | line| file.puts line end file.close end |