Skip to content

Commit

Permalink
[Doc] Fix a typo s/invokations/invocations/
Browse files Browse the repository at this point in the history
  • Loading branch information
wonda-tea-coffee authored and ioquatix committed Apr 25, 2021
1 parent dee58d7 commit fc84e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/syntax/methods.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fc84e66

Please sign in to comment.