Created
June 25, 2011 06:03
-
-
Save zvozin/1046214 to your computer and use it in GitHub Desktop.
Scala Object definition
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 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