From: Jim Weirich Date: Tue, 20 Apr 2010 20:16:55 +0000 (-0400) Subject: Added a numeric fill in method (_n_) X-Git-Tag: cinci-day-of-ruby-2010~34 X-Git-Url: https://git.eng.unimelb.edu.au/public?a=commitdiff_plain;h=110ff38b3fcd51f95cfb1db900d18c2470ac44d8;p=ruby_koans.git Added a numeric fill in method (_n_) --- diff --git a/src/edgecase.rb b/src/edgecase.rb index 91d838f..acb032b 100644 --- a/src/edgecase.rb +++ b/src/edgecase.rb @@ -10,6 +10,10 @@ def __(value="FILL ME IN") value end +def _n_(value=999999) + value +end + def ___(value=FillMeInError) value end