Why does a method defined in an outer scope takes precedence of a method defined in an inner scope?
The Groovy SDK loop methods (e.g. each) use the default closure resolve strategy OWNER_FIRST and thus methods from an outer scope take precedence over methods from inner scopes.
The problem can be solved by calling the delegate of the closure directl...
blogs.sretribe.net2 min read