Skip to content

Instantly share code, notes, and snippets.

@rrees
Created June 8, 2010 16: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 rrees/430250 to your computer and use it in GitHub Desktop.
Save rrees/430250 to your computer and use it in GitHub Desktop.
class MyClass {
def methodMissing (String name, Object args) {
println("Method missing was invoked for the call ${name}")
}
}
g = new MyClass()
g.attr()
g.attr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment