ruby-changes:66275
From: Jeremy <ko1@a...>
Date: Fri, 21 May 2021 04:25:58 +0900 (JST)
Subject: [ruby-changes:66275] 2e919e4a64 (master): Remove extra word in heredoc documentation
https://git.ruby-lang.org/ruby.git/commit/?id=2e919e4a64 From 2e919e4a643814735c68cf6724972cf7aa0cd91e Mon Sep 17 00:00:00 2001 From: Jeremy Evans <code@j...> Date: Thu, 20 May 2021 12:24:41 -0700 Subject: Remove extra word in heredoc documentation From Thibault Jouan Fixes [Misc #17872] --- doc/syntax/literals.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc index d6d6778..cfdbb71 100644 --- a/doc/syntax/literals.rdoc +++ b/doc/syntax/literals.rdoc @@ -220,7 +220,7 @@ You may indent the ending identifier if you place a "-" after <tt><<</tt>: https://github.com/ruby/ruby/blob/trunk/doc/syntax/literals.rdoc#L220 That might span many lines INDENTED_HEREDOC -Note that the while the closing identifier may be indented, the content is +Note that while the closing identifier may be indented, the content is always treated as if it is flush left. If you indent the content those spaces will appear in the output. -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/