summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--doc/syntax/methods.rdoc2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 28a88947335..584183b0134 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Dec 19 16:19:36 2012 Eric Hodel <drbrain@segment7.net>
+
+ * doc/syntax/methods.rdoc: Fixed typo. Thanks to Josh Susser.
+
Wed Dec 19 16:18:22 2012 Eric Hodel <drbrain@segment7.net>
* lib/rubygems/commands/query_command.rb: Refactored to improve
diff --git a/doc/syntax/methods.rdoc b/doc/syntax/methods.rdoc
index 15ca9657741..f14a72e1f9d 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