add an object block to call instance method
Merge pull request #627 from waterbearlang/objMth

add an object block to call instance method