diff options
Diffstat (limited to 'doc/syntax/methods.rdoc')
-rw-r--r-- | doc/syntax/methods.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
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 <code>...</code>. end Since Ruby 3.0, there can be leading arguments before <code>...</code> -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) |