app0.scala
author Christian Urban <urbanc@in.tum.de>
Mon, 05 Nov 2012 20:27:58 +0000
changeset 57 0c96b2c04591
parent 3 df423d3b7fa1
permissions -rw-r--r--
added ruby version

import io.Source

def get_page(url: String) : String = { 
  Source.fromURL(url).take(10000).mkString