[go: up one dir, main page]

groovy-common-extensions v0.5

A new version of groovy-common-extensions is out with a new method tap.

Taken from Ruby, the tap method executes the closure using the object as the delegate - internally, it just calls self.with c and then it returns self.

This allows you to tap into a method chain:

@tim_yates

 
Blog comments powered by Disqus