ruby-changes:64612
From: Marcus <ko1@a...>
Date: Sat, 26 Dec 2020 18:48:20 +0900 (JST)
Subject: [ruby-changes:64612] ce65a7687f (master): methods.rdoc: Clarify "currently" means "in 2.7" here
https://git.ruby-lang.org/ruby.git/commit/?id=ce65a7687f From ce65a7687f1e05ce613483102a8131d8e827bcb6 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer <sto.mar@w...> Date: Sat, 26 Dec 2020 10:40:47 +0100 Subject: methods.rdoc: Clarify "currently" means "in 2.7" here diff --git a/doc/syntax/methods.rdoc b/doc/syntax/methods.rdoc index d5b23bf..f469833 100644 --- a/doc/syntax/methods.rdoc +++ b/doc/syntax/methods.rdoc @@ -501,7 +501,7 @@ In Ruby 3.0, if the method definition does not include keyword arguments, https://github.com/ruby/ruby/blob/trunk/doc/syntax/methods.rdoc#L501 keyword arguments provided when calling the method will continue to be treated as a final positional hash argument. -Currently, the keyword and positional arguments are not separated, +In Ruby 2.7, the keyword and positional arguments are not separated, but cases where behavior will change in Ruby 3.0 will result in a warning being emitted. -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/