File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1068,13 +1068,12 @@ f_lambda(VALUE _)
10681068 * Document-method: Proc#yield
10691069 *
10701070 * call-seq:
1071- * prc.call(params,...) -> obj
1072- * prc[params,...] -> obj
1073- * prc.(params,...) -> obj
1074- * prc.yield(params,...) -> obj
1071+ * call(...) -> obj
1072+ * self[...] -> obj
1073+ * yield(...) -> obj
10751074 *
1076- * Invokes the block, setting the block's parameters to the values in
1077- * <i>params</i> using something close to method calling semantics.
1075+ * Invokes the block, setting the block's parameters to the arguments
1076+ * using something close to method calling semantics.
10781077 * Returns the value of the last expression evaluated in the block.
10791078 *
10801079 * a_proc = Proc.new {|scalar, *values| values.map {|value| value*scalar } }
You can’t perform that action at this time.
0 commit comments