From bf52ae98de2bf0c8b6240d8d01ff27faa1df3460 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Wed, 28 Dec 2016 23:42:07 +0100 Subject: [PATCH] Ruby default arguments article: Don't parse the source as erb --- ....html.md.erb => detecting-default-arguments-in-ruby.html.md} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename source/articles/2016/{detecting-default-arguments-in-ruby.html.md.erb => detecting-default-arguments-in-ruby.html.md} (99%) diff --git a/source/articles/2016/detecting-default-arguments-in-ruby.html.md.erb b/source/articles/2016/detecting-default-arguments-in-ruby.html.md similarity index 99% rename from source/articles/2016/detecting-default-arguments-in-ruby.html.md.erb rename to source/articles/2016/detecting-default-arguments-in-ruby.html.md index 4d16dd3..fc001c7 100644 --- a/source/articles/2016/detecting-default-arguments-in-ruby.html.md.erb +++ b/source/articles/2016/detecting-default-arguments-in-ruby.html.md @@ -118,7 +118,7 @@ with_value('foo', 'value') # optional: value ``` -## Using a splat parameter +## Using a Splat Parameter A third options is to use a splat parameter in the method's definition. This accepts an unlimited number of optional arguments and provided them to the method body in an array.