4 May 21:23
Re: Uniform RDoc markup
From: Eleanor McHugh <eleanor <at> games-with-brains.com>
Subject: Re: Uniform RDoc markup
Newsgroups: gmane.comp.lang.ruby.core
Date: 2008-05-04 19:23:28 GMT
Subject: Re: Uniform RDoc markup
Newsgroups: gmane.comp.lang.ruby.core
Date: 2008-05-04 19:23:28 GMT
On 4 May 2008, at 19:05, Phlip wrote: > Jeremy McAnally wrote: > >> * parameter - Explains all parameters if the list can't be >> easily explained in the introduction. > > Just as a critique, that's not too DRY. I always want this to work: > > # what foo do > def foo( > bar, # important because we said so > baz, # also important > boo = 42) # get this one wrong at thy peril But as with all matters of code layout, it's as ugly to some as it is as beautiful to others. Ellie Eleanor McHugh Games With Brains http://slides.games-with-brains.net ---- raise ArgumentError unless @reality.responds_to? :reason
RSS Feed