summaryrefslogtreecommitdiff
path: root/doc/syntax/methods.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/syntax/methods.rdoc')
-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 88a4378af82..15ca9657741 100644
--- a/doc/syntax/methods.rdoc
+++ b/doc/syntax/methods.rdoc
@@ -85,7 +85,7 @@ This will raise a SyntaxError:
Keyword arguments are similar to positional arguments with default values:
- def add_values first: 1, second: 2
+ def add_values(first: 1, second: 2)
first + second
end