summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-19 06:24:02 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-19 06:24:02 +0000
commit2c0d2db5cb8f63e9b1e2c2ff776a8d26d510e49f (patch)
tree742484a7d9659cf73935d5124680be029d3d6ffb
parent67ae926c5e68b656c3661aaa747d7720488c32ba (diff)
* doc/syntax/methods.rdoc: Add () around keyword arguments example for
consistency. Thanks to Josh Susser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--doc/syntax/methods.rdoc2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e90eff49be3..69240c4d2cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Dec 19 15:23:50 2012 Eric Hodel <drbrain@segment7.net>
+
+ * doc/syntax/methods.rdoc: Add () around keyword arguments example for
+ consistency. Thanks to Josh Susser.
+
Wed Dec 19 01:51:24 2012 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
* vm.c (rb_vm_jump_tag_but_local_jump): remove unnecessary 2nd
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