View difference between Paste ID: wHHLyBbT and hw63KR5f
SHOW: | | - or go back to the newest paste.
1-
def name = 'Duke'
1+
def name = 'Duke'
2-
assert "Hello $name" == "Hello Duke"
2+
println """Hello ${name},
3-
assert "Hello ${name}" == "Hello Duke"
3+
 
4-
assert "${name.toUpperCase()} " == "Duke"
4+
 Today we are the ${new Date()}
5
 
6
                 Good Bye"""
7
​//Hello Duke,
8
// 
9
// Today we are the Thu Dec 06 21:05:44 UTC 2012
10
// 
11
//               Good Bye