doc/Lazier/Math/ClassMethods.html in lazier-3.5.7 vs doc/Lazier/Math/ClassMethods.html in lazier-4.0.0
- old
+ new
@@ -192,11 +192,11 @@
<span class='type'>(<tt>Array</tt>)</span>
—
- <div class='inline'><p>A mapion of object to compare (with the <code>></code> operator).</p>
+ <div class='inline'><p>A list of objects to compare (with the <code>></code> operator).</p>
</div>
</li>
</ul>
@@ -210,11 +210,11 @@
<span class='type'>(<tt><span class='object_link'><a href="../Object.html" title="Lazier::Object (module)">Object</a></span></tt>)</span>
—
- <div class='inline'><p>The maximum value or <code>nil</code> (if the mapion is empty).</p>
+ <div class='inline'><p>The maximum value or <code>nil</code> (if the list is empty).</p>
</div>
</li>
</ul>
@@ -223,19 +223,19 @@
<tr>
<td>
<pre class="lines">
+25
26
-27
-28</pre>
+27</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/lazier/math.rb', line 26</span>
+ <pre class="code"><span class="info file"># File 'lib/lazier/math.rb', line 25</span>
<span class='kw'>def</span> <span class='id identifier rubyid_max'>max</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
- <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span><span class='period'>.</span><span class='id identifier rubyid_flatten'>flatten</span><span class='period'>.</span><span class='id identifier rubyid_max'>max</span>
+ <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span><span class='lparen'>(</span><span class='label'>default:</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>no_duplicates:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>compact:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>flatten:</span> <span class='kw'>true</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_max'>max</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
@@ -268,11 +268,11 @@
<span class='type'>(<tt>Array</tt>)</span>
—
- <div class='inline'><p>A mapion of object to compare (with the <code><</code> operator).</p>
+ <div class='inline'><p>A list of objects to compare (with the <code><</code> operator).</p>
</div>
</li>
</ul>
@@ -286,11 +286,11 @@
<span class='type'>(<tt><span class='object_link'><a href="../Object.html" title="Lazier::Object (module)">Object</a></span></tt>)</span>
—
- <div class='inline'><p>The minimum value or <code>nil</code> (if the mapion is empty).</p>
+ <div class='inline'><p>The minimum value or <code>nil</code> (if the list is empty).</p>
</div>
</li>
</ul>
@@ -299,19 +299,19 @@
<tr>
<td>
<pre class="lines">
+17
18
-19
-20</pre>
+19</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/lazier/math.rb', line 18</span>
+ <pre class="code"><span class="info file"># File 'lib/lazier/math.rb', line 17</span>
<span class='kw'>def</span> <span class='id identifier rubyid_min'>min</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
- <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span><span class='period'>.</span><span class='id identifier rubyid_flatten'>flatten</span><span class='period'>.</span><span class='id identifier rubyid_min'>min</span>
+ <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_ensure_array'>ensure_array</span><span class='lparen'>(</span><span class='label'>default:</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='label'>no_duplicates:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>compact:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>flatten:</span> <span class='kw'>true</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_min'>min</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
@@ -319,10 +319,10 @@
</div>
</div>
<div id="footer">
- Generated on Thu Jun 19 11:49:04 2014 by
+ Generated on Sun Jun 1 15:50:05 2014 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.7.4 (ruby-2.1.2).
</div>
</body>
\ No newline at end of file