Eleanor McHugh | 4 May 21:23

Re: Uniform RDoc markup

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


Gmane