summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-19 09:05:44 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-19 09:05:44 +0000
commit542a12d673ee5da8a7b8d40d66415f3e72bb0077 (patch)
tree14d5cce2c2e12fb9baa40e8e55894633bfe7d59b
parente9e4ea981ed45edd35f177992ca2002a82283c8f (diff)
* doc/syntax/methods.rdoc: rdoc fix, patch by Dave Brown
[github:222] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 f14a72e1f9..8183d48612 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