Skip to content

Instantly share code, notes, and snippets.

@yaronv yaronv/Print.scala
Created Apr 13, 2017

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")} )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.