Evaluates the specified String expression and returns the result. For example: assert Eval.me(' 2 4 + 2') == 10 @param expression the Groovy expression to evaluate @return the result of the expression @throws CompilationFailedException if expressio
(final String expression)
| 47 | * @throws CompilationFailedException if expression is not valid Groovy |
| 48 | */ |
| 49 | public static Object me(final String expression) throws CompilationFailedException { |
| 50 | return me(null, null, expression); |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * Evaluates the specified String expression and makes the parameter available inside |