• Post Reply Bookmark Topic Watch Topic
  • New Topic

Pass closure to builder  RSS feed

 
Kerry Wilson
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to make a simple DSL that will control permissions.

I would like it to look something like this:



Right now the builder is attempting to build the closure, is there any way to make it pass it to the createNode method in my BuilderSupport object or it could execute it and pass the return value.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!