Provide method_overriding callback to ruby.