doc/Lazier/DateTime.html in lazier-2.6.3 vs doc/Lazier/DateTime.html in lazier-2.6.4
- old
+ new
@@ -282,13 +282,14 @@
</h3><div class="docstring">
<div class="discussion">
<p>Returns the number of months passed between the beginning of the base year and the current date.</p>
-<pre class="code ruby"><code class="ruby"><span class='const'>DateTime</span><span class='period'>.</span><span class='id identifier rubyid_civil'>civil</span><span class='lparen'>(</span><span class='int'>2013</span><span class='comma'>,</span> <span class='int'>6</span><span class='comma'>,</span> <span class='int'>1</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_in_months'>in_months</span><span class='lparen'>(</span><span class='int'>2011</span><span class='rparen'>)</span>
-<span class='comment'># => 18
-</span></code></pre>
+<p><code>ruby
+DateTime.civil(2013, 6, 1).in_months(2011)
+# => 18
+</code></p>
</div>
</div>
<div class="tags">
@@ -722,10 +723,10 @@
</div>
</div>
<div id="footer">
- Generated on Tue Feb 5 10:05:04 2013 by
+ Generated on Thu Feb 7 23:34:11 2013 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.4 (ruby-1.9.3).
</div>
</body>
\ No newline at end of file