Created
June 13, 2013 10:56
-
-
Save beranradek/5772884 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
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