Method: Kernel#lambda
- Defined in:
- proc.c
#lambda {|...| ... } ⇒ Proc
Equivalent to Proc.new, except the resulting Proc objects check the number of parameters passed when called.
869 870 871 872 873 |
# File 'proc.c', line 869
static VALUE
f_lambda(VALUE _)
{
return rb_block_lambda();
}
|