summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/syntax/methods.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/syntax/methods.rdoc b/doc/syntax/methods.rdoc
index f14a72e1f9d..8183d48612c 100644
--- a/doc/syntax/methods.rdoc
+++ b/doc/syntax/methods.rdoc
@@ -68,8 +68,8 @@ Arguments may have default values:
a + b
end
-The default value does not need to appear first, but the must be grouped
-together. This is ok:
+The default value does not need to appear first, but arguments with defaults
+must be grouped together. This is ok:
def add_values(a = 1, b = 2, c)
a + b + c