doc/Elephas/Providers/RubyOnRails.html in elephas-0.1.0 vs doc/Elephas/Providers/RubyOnRails.html in elephas-1.0.0
- old
+ new
@@ -520,11 +520,11 @@
<span class='type'>(<tt>Object</tt>)</span>
—
- <div class='inline'><p>The value to write. *<em>Setting a value to <code>nil</code> doesn't mean *deleting</em> the value.</p>
+ <div class='inline'><p>The value to write. <strong>Setting a value to <code>nil</code> **doesn't</strong> mean <em>deleting</em> the value.</p>
</div>
</li>
<li>
@@ -537,11 +537,11 @@
<em class="default">(defaults to: <tt>{}</tt>)</em>
—
- <div class='inline'><p>A list of options for writing. @see Elephas::Cache.write</p>
+ <div class='inline'><p>A list of options for writing.</p>
</div>
</li>
</ul>
@@ -562,34 +562,39 @@
</li>
</ul>
+ <p class="tag_title">See Also:</p>
+ <ul class="see">
+
+ <li><span class='object_link'><a href="../Cache.html#setup_options-class_method" title="Elephas::Cache.setup_options (method)">Cache.setup_options</a></span></li>
+
+ </ul>
+
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
-27
28
29
30
31
32
33
34</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/elephas/providers/ruby_on_rails.rb', line 27</span>
+ <pre class="code"><span class="info file"># File 'lib/elephas/providers/ruby_on_rails.rb', line 28</span>
<span class='kw'>def</span> <span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
- <span class='id identifier rubyid_ttl'>ttl</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:ttl</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_integer'>to_integer</span><span class='comma'>,</span> <span class='int'>0</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_max'>max</span>
<span class='id identifier rubyid_fvalue'>fvalue</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>Elephas</span><span class='op'>::</span><span class='const'>Entry</span><span class='period'>.</span><span class='id identifier rubyid_ensure'>ensure</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='comma'>,</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
<span class='id identifier rubyid_fvalue'>fvalue</span><span class='period'>.</span><span class='id identifier rubyid_refresh'>refresh</span>
- <span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_cache'>cache</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='comma'>,</span> <span class='symbol'>:expires_in</span> <span class='op'>=></span> <span class='id identifier rubyid_ttl'>ttl</span><span class='rparen'>)</span>
+ <span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_cache'>cache</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='comma'>,</span> <span class='symbol'>:expires_in</span> <span class='op'>=></span> <span class='id identifier rubyid_fvalue'>fvalue</span><span class='period'>.</span><span class='id identifier rubyid_ttl'>ttl</span><span class='rparen'>)</span>
<span class='id identifier rubyid_value'>value</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -598,10 +603,10 @@
</div>
</div>
<div id="footer">
- Generated on Sat Jul 28 14:29:52 2012 by
+ Generated on Sun Jul 29 10:32:08 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.2).
</div>
</body>
\ No newline at end of file