summaryrefslogtreecommitdiff
path: root/doc/syntax
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-19 07:19:59 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-19 07:19:59 +0000
commitd8cda044883c587ba75140b72200b94051a28349 (patch)
treeb0f562038c58b95b4cb691ab4ab59a3639ca9d4e /doc/syntax
parenteddc0685f224a6de2f5a6bdaab7f87562192ba7f (diff)
* doc/syntax/methods.rdoc: Fixed typo. Thanks to Josh Susser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 15ca965..f14a72e 100644
--- a/doc/syntax/methods.rdoc
+++ b/doc/syntax/methods.rdoc
@@ -118,7 +118,7 @@ the caller after all positional arguments.
However, this only occurs if the method does not declare any keyword arguments.
def gather_arguments_keyword(*positional, keyword: nil)
- p positinal: positional, keyword: keyword
+ p positional: positional, keyword: keyword
end
gather_arguments_keyword 1, 2, three: 3