Skip to content

Instantly share code, notes, and snippets.

@zvozin
Created June 25, 2011 06:03
Show Gist options
  • Save zvozin/1046214 to your computer and use it in GitHub Desktop.
Save zvozin/1046214 to your computer and use it in GitHub Desktop.
Scala Object definition
object ShinyNewObject{
val lovelyProperty = "Property we share"
val notSoLovelyProperty = 3.14
def weCanHazDoStuff(stuff: String) = doingCoolStuffHere(stuff)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment