Added header

This commit is contained in:
George Petrov 2013-07-29 13:57:44 +01:00
parent 04e50a75fa
commit 3cc4c64fb7

View File

@ -1,3 +1,9 @@
---
language: scala
author: George Petrov
author_url: http://www.georgepetrov.com
---
/* /*
Set yourself up: Set yourself up:
@ -106,6 +112,11 @@ val x = 10
if (x == 1) println("yeah") if (x == 1) println("yeah")
if (x == 10) println("yeah") if (x == 10) println("yeah")
if (x == 11) println("yeah") if (x == 11) println("yeah")
if (x == 11) println ("yeah") else println("nope")
println(if (x == 10) "yeah" else "nope")
val text = if (x == 10) "yeah" else "nope"
// Object oriented features // Object oriented features