Skip to content

Instantly share code, notes, and snippets.

@pradeepbishnoi
Created August 3, 2017 06:53
Show Gist options
  • Save pradeepbishnoi/1a8ee2affacfbb2bb7b7c15e2ddcfccc to your computer and use it in GitHub Desktop.
Save pradeepbishnoi/1a8ee2affacfbb2bb7b7c15e2ddcfccc to your computer and use it in GitHub Desktop.
Using a Keyname as Variable in Groovy
columnNumber = '18'
tmpVar.add(it."$columnNumber".value);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment