From fc84e6679d98ebb83a02609e8ba2f588e99565eb Mon Sep 17 00:00:00 2001 From: wonda-tea-coffee Date: Sun, 25 Apr 2021 14:02:33 +0900 Subject: [Doc] Fix a typo s/invokations/invocations/ --- doc/syntax/methods.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/syntax/methods.rdoc b/doc/syntax/methods.rdoc index 1b75922578..b9ec8da5ff 100644 --- a/doc/syntax/methods.rdoc +++ b/doc/syntax/methods.rdoc @@ -615,7 +615,7 @@ defined with .... end Since Ruby 3.0, there can be leading arguments before ... -both in definitions and in invokations (but in definitions they can be +both in definitions and in invocations (but in definitions they can be only positional arguments without default values). def request(method, path, **headers) -- cgit v1.2.3