ruby-changes:64599
From: Nobuyoshi <ko1@a...>
Date: Fri, 25 Dec 2020 22:09:54 +0900 (JST)
Subject: [ruby-changes:64599] aaf0474e76 (master): Adjusted the heading level of "Block Arguments" [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=aaf0474e76 From aaf0474e76ecf8d8fc675c3e56a803d887e63965 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 25 Dec 2020 22:05:21 +0900 Subject: Adjusted the heading level of "Block Arguments" [ci skip] diff --git a/doc/syntax/methods.rdoc b/doc/syntax/methods.rdoc index c11bd44..241913c 100644 --- a/doc/syntax/methods.rdoc +++ b/doc/syntax/methods.rdoc @@ -540,7 +540,7 @@ as the keyword arguments: https://github.com/ruby/ruby/blob/trunk/doc/syntax/methods.rdoc#L540 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: -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/