instance method
Proc#inspect
() -> ::String
inspect
proc.c
View on GitHub ↗
static VALUE
proc_to_s(VALUE self)
{
const rb_proc_t *proc;
GetProcPtr(self, proc);
return rb_block_to_s(self, &proc->block, proc->is_lambda ? " (lambda)" : NULL);
}
Alias of #to_s
Returns the unique identifier for this proc, along with an indication of where the proc was defined.