Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def commonOps = { closure ->
- println("a")
- return {
- println("b")
- closure()
- le("title", fieldRule.getCondition())
- }
- }
- ...
- or {
- commonOps {
- println("c")
- eq("fieldX", object.getX())
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement