1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

-> creates a lambda so this updates the documentation to reflect that

This commit is contained in:
James Koenig 2020-11-30 12:48:31 -08:00 committed by Marc-André Lafortune
parent 67693d8d80
commit a67cd8a888
Notes: git 2020-12-01 10:11:42 +09:00

View file

@ -363,7 +363,7 @@ See Regexp for a description of the syntax of regular expressions.
== Procs
A proc can be created with <tt>-></tt>:
A lambda proc can be created with <tt>-></tt>:
-> { 1 + 1 }