Dorian . | 10 Apr 2011 16:36
Picon
Gravatar

Little issue in Array#compact! doc

Hi, if you look at Array#compact! doc, you can see there is :

Removes nil elements from the array. Returns nil if no changes were made, otherwise returns </i>ary</i>.

So there is little issur with HTML markup, it should be

Removes nil elements from the array. Returns nil if no changes were made, otherwise returns <i>ary</i>.



Roger Pack | 15 Apr 2011 21:49
Picon

Re: Little issue in Array#compact! doc

I would create a patch to ruby's core (trunk) and submit it to the
ruby-lang redmine.
Cheers!
-r

On Sun, Apr 10, 2011 at 8:36 AM, Dorian . <pr.dorian <at> gmail.com> wrote:
> Hi, if you look at Array#compact! doc, you can see there is :
>>
>> Removes nil elements from the array. Returns nil if no changes were made,
>> otherwise returns </i>ary</i>.
>
> So there is little issur with HTML markup, it should be
>>
>> Removes nil elements from the array. Returns nil if no changes were made,
>> otherwise returns <i>ary</i>.
>
>


Gmane