Groovy Scripts - Functions and Variables
In a previous post, we explored the simplicity of scripting mode offered by Groovy. We arrived at the following code.
String message = args.length > 0 ? "Hello ${args[0]}" : "Hello"
println message
Let's make the functionality slightly more sophisticated. Say, we want to send