core :: Writable :: write_to_file
write_to
but take care of creating the file
# Like `write_to` but take care of creating the file
fun write_to_file(filepath: String)
do
var stream = new FileWriter.open(filepath)
write_to(stream)
stream.close
end
lib/core/file.nit:366,2--372,4
redef fun write_to_file(path) do
if not path.has_suffix(".po") then path += ".po"
super path
end
src/frontend/i18n_phase.nit:195,2--198,4