Skip to content

Instantly share code, notes, and snippets.

@jonatasemidio
Created May 22, 2014 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonatasemidio/2cfba45203d42dd86305 to your computer and use it in GitHub Desktop.
Save jonatasemidio/2cfba45203d42dd86305 to your computer and use it in GitHub Desktop.
Inserção de Coluna em tempo de execução
o = [[id: 1, nome: 'jose'], [id: 2, nome: 'maria']]
o.collect{ it << [idade: 10*it.id] }
println o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment