instance method
Kernel#proc
() { (?) -> untyped } -> ::Proc
proc { |...| block } → a_proc
proc.c
View on GitHub ↗
static VALUE
f_proc(VALUE _)
{
return proc_new(rb_cProc, FALSE);
}
Equivalent to Proc.new.