summaryrefslogtreecommitdiff
path: root/doc/syntax
diff options
context:
space:
mode:
authorwonda-tea-coffee <rikita.ishikawa@crowdworks.co.jp>2021-04-25 14:02:33 +0900
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-04-25 19:45:01 +1200
commitfc84e6679d98ebb83a02609e8ba2f588e99565eb (patch)
tree57744445eec60b64936658b26f3658d9ccd45401 /doc/syntax
parentdee58d7ae7b75971f349f2217007fdf45d1ea23d (diff)
[Doc] Fix a typo s/invokations/invocations/
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4409
Diffstat (limited to 'doc/syntax')
-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 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)