Created
January 22, 2010 15:20
-
-
Save chirino/283831 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
-- hello.ssp | |
hello <%= first %> <%= last %> | |
-- Hello.scala | |
case class Person(first: String, last: String) | |
class MyTemplates { | |
@template("hello.ssp") | |
def hello(first: String, last: String) : Unit | |
@template("hello.ssp") | |
def hello(@import person:Person) : Unit | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment