Created
April 13, 2017 14:34
-
-
Save yaronv/0c371c4a5be3ee3cdd1b7fce2ef5a1fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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