Created
June 8, 2010 16:13
-
-
Save rrees/430250 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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