recv.foo
rb_send0(recv, 'foo');
function rb_send0(recv, mid) {
if (recv == null) {
return NIL_CLASS[mid](recv);
}
if (recv.$opal_methods) {
return recv.$opal_methods[mid](recv);
}
if (typeof(recv[mid]) === "function") {
return recv[mid].call(recv);
}
return recv[mid];
}