Skip to content

Instantly share code, notes, and snippets.

@beranradek
Created June 13, 2013 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beranradek/5772884 to your computer and use it in GitHub Desktop.
Save beranradek/5772884 to your computer and use it in GitHub Desktop.
object NonDefaultResources {
implicit object MySpecificUrlResource extends Resource[URL] {
// ...
}
}
def main(args: Array[String]) {
import NonDefaultResources.MySpecificUrlResource
println("Children of URL: \n: " +
ResourceOperations.listChildren(
new URL("http://czechscala.com/")))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment