Created
July 15, 2014 14:04
-
-
Save saranicole/4c3b13fd11ad2bf33c4e to your computer and use it in GitHub Desktop.
ScriptMethods
This file contains hidden or 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
| def map = [:] | |
| map.addNumbers = {a,b -> c = a + b; c } | |
| try { | |
| return map | |
| } | |
| catch(Exception e){ | |
| logger.info(e.localizedMessage) | |
| } | |
| return true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment