Skip to content

Instantly share code, notes, and snippets.

@musketyr
Created May 19, 2011 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save musketyr/980544 to your computer and use it in GitHub Desktop.
Save musketyr/980544 to your computer and use it in GitHub Desktop.
shortcutFor pointcut
def shortcutFor = { type ->
currentType(type) &
enclosingScript(sourceFolderOfCurrentType('war/WEB-INF/groovy'))
}
shortcutFor('com.google.appengine.api.images.Image').accept {
provider = 'Gaelyk'
// contributions
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment