method

proc

v1_8_7_72 - Show latest stable - Class: Kernel
proc()
public

Equivalent to Proc.new, except the resulting Proc objects check the number of parameters passed when called.