mirror of
https://github.com/jimeh/time_ext.git
synced 2026-02-19 13:26:39 +00:00
rebuild pages from 83655b4
This commit is contained in:
97
lib/time_ext.html
Normal file
97
lib/time_ext.html
Normal file
@@ -0,0 +1,97 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8">
|
||||
<title>time_ext.rb</title>
|
||||
<link rel="stylesheet" href="http://github.com/jashkenas/docco/raw/0.3.0/resources/docco.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id='container'>
|
||||
<div id="background"></div>
|
||||
<div id="jump_to">
|
||||
Jump To …
|
||||
<div id="jump_wrapper">
|
||||
<div id="jump_page">
|
||||
<a class="source" href="time/ext.html">ext.rb</a>
|
||||
<a class="source" href="time_ext.html">time_ext.rb</a>
|
||||
<a class="source" href="time_ext/calculations.html">calculations.rb</a>
|
||||
<a class="source" href="time_ext/core_ext/numeric.html">numeric.rb</a>
|
||||
<a class="source" href="time_ext/core_ext/time.html">time.rb</a>
|
||||
<a class="source" href="time_ext/iterations.html">iterations.rb</a>
|
||||
<a class="source" href="time_ext/version.html">version.rb</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<table cellspacing=0 cellpadding=0>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class=docs><h1>time_ext.rb</h1></th>
|
||||
<th class=code></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr id='section-1'>
|
||||
<td class=docs>
|
||||
<div class="pilwrap">
|
||||
<a class="pilcrow" href="#section-1">¶</a>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
<td class=code>
|
||||
<div class='highlight'><pre><span class="nb">require</span> <span class="s1">'rubygems'</span>
|
||||
<span class="nb">require</span> <span class="s1">'active_support'</span>
|
||||
<span class="nb">require</span> <span class="s1">'time_ext/version'</span></pre></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id='section-2'>
|
||||
<td class=docs>
|
||||
<div class="pilwrap">
|
||||
<a class="pilcrow" href="#section-2">¶</a>
|
||||
</div>
|
||||
<p><a href="time_ext/calculations.html">Calculation</a> methods such as <code>#floor</code>, <code>#ceil</code>, <code>#round</code>,
|
||||
<code>#prev_week</code> and many more, adding on top of the defaults present in
|
||||
ActiveSupport.</p>
|
||||
</td>
|
||||
<td class=code>
|
||||
<div class='highlight'><pre><span class="nb">require</span> <span class="s1">'time_ext/calculations'</span></pre></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id='section-3'>
|
||||
<td class=docs>
|
||||
<div class="pilwrap">
|
||||
<a class="pilcrow" href="#section-3">¶</a>
|
||||
</div>
|
||||
<p><a href="time_ext/iterations.html">Iteration</a> methods allowing the use of <code>#each</code>, <code>#map_each</code> and more on
|
||||
Time objects similar to how you loop over an Array of items.</p>
|
||||
</td>
|
||||
<td class=code>
|
||||
<div class='highlight'><pre><span class="nb">require</span> <span class="s1">'time_ext/iterations'</span></pre></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id='section-4'>
|
||||
<td class=docs>
|
||||
<div class="pilwrap">
|
||||
<a class="pilcrow" href="#section-4">¶</a>
|
||||
</div>
|
||||
<p>Core extention of <a href="time_ext/core_ext/time.html">Time</a> class to load in <a href="time_ext/calculations.html">Calculation</a> and
|
||||
<a href="time_ext/iterations.html">Iteration</a> modules.</p>
|
||||
</td>
|
||||
<td class=code>
|
||||
<div class='highlight'><pre><span class="nb">require</span> <span class="s1">'time_ext/core_ext/time'</span></pre></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id='section-5'>
|
||||
<td class=docs>
|
||||
<div class="pilwrap">
|
||||
<a class="pilcrow" href="#section-5">¶</a>
|
||||
</div>
|
||||
<p>Core extention of <a href="time_ext/core_ext/numeric.html">Numeric</a> class to set a couple of required aliases.</p>
|
||||
|
||||
</td>
|
||||
<td class=code>
|
||||
<div class='highlight'><pre><span class="nb">require</span> <span class="s1">'time_ext/core_ext/numeric'</span></pre></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
Reference in New Issue
Block a user