Class: Proc
Instance Method Summary collapse
Instance Method Details
#references ⇒ Object
19 20 21 22 23 24 25 26 27 |
# File 'ext/utilrb/proc.c', line 19
static VALUE proc_references(VALUE rbproc)
{
rb_proc_t* proc;
GetProcPtr(rbproc, proc);
if (!NIL_P(proc->envval))
return env_references(proc->envval);
return rb_ary_new();
}
|