Wrap up method_missing docs and tests

This commit is contained in:
Jason Turner
2015-04-23 15:03:08 -06:00
parent 606c1d9d00
commit 9ab0b1108a
4 changed files with 61 additions and 10 deletions

View File

@@ -0,0 +1,7 @@
def method_missing(int i, string method_name, Vector params) {
"method_missing called : " + to_string(i) + "." + method_name + "(" + to_string(params[0]) + ", " + to_string(params[1]) + ")";
}
assert_true(5.bob(3,4) == "method_missing called : 5.bob(3, 4)" )