diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | doc/syntax/calling_methods.rdoc | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Feb 17 10:59:10 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> + + * doc/syntax/calling_methods.rdoc: Fix documentation for "calling_methods" + Patch by @sos4nt [fix GH-830][ci skip] + Tue Feb 17 10:53:29 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * win32/file.c (rb_file_expand_path_internal): do not make invalid diff --git a/doc/syntax/calling_methods.rdoc b/doc/syntax/calling_methods.rdoc index 79c0de59dc..9cec4526b8 100644 --- a/doc/syntax/calling_methods.rdoc +++ b/doc/syntax/calling_methods.rdoc @@ -296,7 +296,7 @@ arguments they will not be gathered by <code>*</code>: Prints: - {:arguments=>[1, 2], :keywords=>{"3"=>4, :five=>6}} + {:arguments=>[1, 2, {"3"=>4}], :keywords=>{:five=>6}} Unlike the splat operator described above the <code>**</code> operator has no commonly recognized name. |