doc/classes/Cachetastic/Cacheable/ClassOnlyMethods.html in cachetastic-1.7.4 vs doc/classes/Cachetastic/Cacheable/ClassOnlyMethods.html in cachetastic-2.0.0

- old
+ new

@@ -53,12 +53,12 @@ <td class="class-name-in-header">Cachetastic::Cacheable::ClassOnlyMethods</td> </tr> <tr class="top-aligned-row"> <td><strong>In:</strong></td> <td> - <a href="../../../files/lib/cachetastic_cacheable_rb.html"> - lib/cachetastic_cacheable.rb + <a href="../../../files/lib/cachetastic/cacheable_rb.html"> + lib/cachetastic/cacheable.rb </a> <br /> </td> </tr> @@ -78,13 +78,13 @@ <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> - <a href="#M000053">delete_from_cache</a>&nbsp;&nbsp; - <a href="#M000052">get_from_cache</a>&nbsp;&nbsp; - <a href="#M000054">set_into_cache</a>&nbsp;&nbsp; + <a href="#M000066">delete_from_cache</a>&nbsp;&nbsp; + <a href="#M000065">get_from_cache</a>&nbsp;&nbsp; + <a href="#M000067">set_into_cache</a>&nbsp;&nbsp; </div> </div> </div> @@ -102,79 +102,79 @@ <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Instance methods</h3> - <div id="method-M000053" class="method-detail"> - <a name="M000053"></a> + <div id="method-M000066" class="method-detail"> + <a name="M000066"></a> <div class="method-heading"> - <a href="#M000053" class="method-signature"> + <a href="#M000066" class="method-signature"> <span class="method-name">delete_from_cache</span><span class="method-args">(key)</span> </a> </div> <div class="method-description"> <p> Deletes an object from the cache for a given key. </p> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000053-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000053-source"> + onclick="toggleCode('M000066-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000066-source"> <pre> - <span class="ruby-comment cmt"># File lib/cachetastic_cacheable.rb, line 185</span> + <span class="ruby-comment cmt"># File lib/cachetastic/cacheable.rb, line 185</span> 185: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_from_cache</span>(<span class="ruby-identifier">key</span>) 186: <span class="ruby-identifier">cache_class</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>) 187: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> - <div id="method-M000052" class="method-detail"> - <a name="M000052"></a> + <div id="method-M000065" class="method-detail"> + <a name="M000065"></a> <div class="method-heading"> - <a href="#M000052" class="method-signature"> + <a href="#M000065" class="method-signature"> <span class="method-name">get_from_cache</span><span class="method-args">(key, &amp;block)</span> </a> </div> <div class="method-description"> <p> Returns an object from the cache for a given key. </p> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000052-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000052-source"> + onclick="toggleCode('M000065-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000065-source"> <pre> - <span class="ruby-comment cmt"># File lib/cachetastic_cacheable.rb, line 180</span> + <span class="ruby-comment cmt"># File lib/cachetastic/cacheable.rb, line 180</span> 180: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_from_cache</span>(<span class="ruby-identifier">key</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) 181: <span class="ruby-identifier">cache_class</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">key</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) 182: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> - <div id="method-M000054" class="method-detail"> - <a name="M000054"></a> + <div id="method-M000067" class="method-detail"> + <a name="M000067"></a> <div class="method-heading"> - <a href="#M000054" class="method-signature"> + <a href="#M000067" class="method-signature"> <span class="method-name">set_into_cache</span><span class="method-args">(key, value, expiry = 0)</span> </a> </div> <div class="method-description"> <p> Sets an object into the cache for a given key. </p> <p><a class="source-toggle" href="#" - onclick="toggleCode('M000054-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000054-source"> + onclick="toggleCode('M000067-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000067-source"> <pre> - <span class="ruby-comment cmt"># File lib/cachetastic_cacheable.rb, line 190</span> + <span class="ruby-comment cmt"># File lib/cachetastic/cacheable.rb, line 190</span> 190: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_into_cache</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">expiry</span> = <span class="ruby-value">0</span>) 191: <span class="ruby-identifier">cache_class</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">expiry</span>) 192: <span class="ruby-keyword kw">end</span> </pre> </div> \ No newline at end of file