Little issue in Array#compact! doc
"Dorian ." <[email protected]> Sun, 10 Apr 2011 16:36:16 +0200
| Newsgroups | gmane.comp.lang.ruby.documentation |
|---|---|
| Message-ID | <[email protected]> |
--0016e6d77d05de458004a09162a1 Content-Type: text/plain; charset=UTF-8 Hi, if you look at Array#compact!<http://www.ruby-doc.org/core/classes/Array.html#M000279>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>. > --0016e6d77d05de458004a09162a1 Content-Type: text/html; charset=UTF-8 <div class="gmail_quote"><div><div></div><div class="h5"><div class="gmail_quote">Hi, if you look at <a href="http://www.ruby-doc.org/core/classes/Array.html#M000279" target="_blank">Array#compact!</a> doc, you can see there is :<br> <blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex" class="gmail_quote"> <p> Removes <tt>nil</tt> elements from the array. Returns <tt>nil</tt> if no changes were made, otherwise returns <span style="background-color:rgb(255, 255, 102)"><<span style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 102)">/</span>i>ary</i></span>. </p></blockquote><div>So there is little issur with HTML markup, it should be<br> <blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex" class="gmail_quote"> <p> Removes <tt>nil</tt> elements from the array. Returns <tt>nil</tt> if no changes were made, otherwise returns <span style="background-color:rgb(255, 255, 102)"><i>ary</i></span>.</p> </blockquote></div> </div><br> </div></div></div><br> --0016e6d77d05de458004a09162a1--