Method: Proc#===

Defined in:
proc.c

#===(*args) ⇒ Object

call-seq:

proc === obj   -> result_of_proc

Invokes the block with obj as the proc’s parameter like Proc#call. This allows a proc object to be the target of a when clause in a case statement.



959
960
961
962
963
# File 'proc.c', line 959

static VALUE
proc_call(int argc, VALUE *argv, VALUE procval)
{
    /* removed */
}