Flowdock
disasm(p1) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
static VALUE
iseq_s_disasm(VALUE klass, VALUE body)
{
    extern NODE *rb_method_body(VALUE body);
    NODE *node;
    VALUE ret = Qnil;

    rb_secure(1);

    if ((node = rb_method_body(body)) != 0) {
        if (nd_type(node) == RUBY_VM_METHOD_NODE) {
            VALUE iseqval = (VALUE)node->nd_body;
            ret = rb_iseq_disasm(iseqval);
        }
    }

    return ret;
}
Register or log in to add new notes.