Created
May 22, 2014 12:21
-
-
Save jonatasemidio/2cfba45203d42dd86305 to your computer and use it in GitHub Desktop.
Inserção de Coluna em tempo de execução
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
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