[前][次][番号順一覧][スレッド一覧]

ruby-changes:63809

From: James <ko1@a...>
Date: Tue, 1 Dec 2020 10:11:36 +0900 (JST)
Subject: [ruby-changes:63809] a67cd8a888 (master): -> creates a lambda so this updates the documentation to reflect that

https://git.ruby-lang.org/ruby.git/commit/?id=a67cd8a888

From a67cd8a8886eed7579c3ffbaf84beecda7ab7d2f Mon Sep 17 00:00:00 2001
From: James Koenig <Koenig.James@L...>
Date: Mon, 30 Nov 2020 12:48:31 -0800
Subject: -> creates a lambda so this updates the documentation to reflect that


diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc
index c9873f3..d6d6778 100644
--- a/doc/syntax/literals.rdoc
+++ b/doc/syntax/literals.rdoc
@@ -363,7 +363,7 @@ See Regexp for a description of the syntax of regular expressions. https://github.com/ruby/ruby/blob/trunk/doc/syntax/literals.rdoc#L363
 
 == Procs
 
-A proc can be created with <tt>-></tt>:
+A lambda proc can be created with <tt>-></tt>:
 
   -> { 1 + 1 }
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]