Groovy web console

subscribe to the feed Subscribe
to this
site
Squiggles Not Needed (via #groovywebconsole)
tweet this snippet Tweet
this
script

Squiggles Not Needed

Published 6 months ago by Brendan with tags String field dollar squiggle unnecessary
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
class Title {
  int titleId
}

Title title = new Title(titleId: 1234567)

println "$title.titleId"