Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
val file = new File(config.getString("output.path"))
val bw = new BufferedWriter(new FileWriter(file))
bw.write(House.getHeadlines + "\n")
houses.foreach(h => {bw.write(h + "\n")} )
bw.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment