summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-25 22:05:21 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-25 22:09:22 +0900
commitaaf0474e76ecf8d8fc675c3e56a803d887e63965 (patch)
tree479aa0b326dad7211ec86f23be7f41c0f0a7089a
parenta01d28fed7de2682d23606346ffededf19eb42c9 (diff)
Adjusted the heading level of "Block Arguments" [ci skip]
-rw-r--r--doc/syntax/methods.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/methods.rdoc b/doc/syntax/methods.rdoc
index c11bd449bc9..241913cc1ad 100644
--- a/doc/syntax/methods.rdoc
+++ b/doc/syntax/methods.rdoc
@@ -540,7 +540,7 @@ as the keyword arguments:
my_method(a: 1, 'a' => 2) # [{"a"=>2}, 1]
my_method({a: 1, 'a' => 2}) # [{"a"=>2}, 1]
-== Block Argument
+=== Block Argument
The block argument is indicated by <code>&</code> and must come last: