doc/classes/Cachetastic/Cacheable/ClassOnlyMethods.html in cachetastic-2.1.4 vs doc/classes/Cachetastic/Cacheable/ClassOnlyMethods.html in cachetastic-3.0.0

- old
+ new

@@ -78,13 +78,13 @@ <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> - <a href="#M000069">delete_from_cache</a>&nbsp;&nbsp; - <a href="#M000068">get_from_cache</a>&nbsp;&nbsp; - <a href="#M000070">set_into_cache</a>&nbsp;&nbsp; + <a href="#M000013">delete_from_cache</a>&nbsp;&nbsp; + <a href="#M000012">get_from_cache</a>&nbsp;&nbsp; + <a href="#M000014">set_into_cache</a>&nbsp;&nbsp; </div> </div> </div> @@ -102,82 +102,82 @@ <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Instance methods</h3> - <div id="method-M000069" class="method-detail"> - <a name="M000069"></a> + <div id="method-M000013" class="method-detail"> + <a name="M000013"></a> <div class="method-heading"> - <a href="#M000069" class="method-signature"> + <a href="#M000013" 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('M000069-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000069-source"> + onclick="toggleCode('M000013-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000013-source"> <pre> - <span class="ruby-comment cmt"># File lib/cachetastic/cacheable.rb, line 187</span> -187: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_from_cache</span>(<span class="ruby-identifier">key</span>) -188: <span class="ruby-identifier">cache_class</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>) -189: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File lib/cachetastic/cacheable.rb, line 191</span> +191: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_from_cache</span>(<span class="ruby-identifier">key</span>) +192: <span class="ruby-identifier">cache_class</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>) +193: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> - <div id="method-M000068" class="method-detail"> - <a name="M000068"></a> + <div id="method-M000012" class="method-detail"> + <a name="M000012"></a> <div class="method-heading"> - <a href="#M000068" class="method-signature"> + <a href="#M000012" 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('M000068-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000068-source"> + onclick="toggleCode('M000012-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000012-source"> <pre> - <span class="ruby-comment cmt"># File lib/cachetastic/cacheable.rb, line 182</span> -182: <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>) -183: <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>) -184: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File lib/cachetastic/cacheable.rb, line 186</span> +186: <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>) +187: <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>) +188: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> - <div id="method-M000070" class="method-detail"> - <a name="M000070"></a> + <div id="method-M000014" class="method-detail"> + <a name="M000014"></a> <div class="method-heading"> - <a href="#M000070" class="method-signature"> + <a href="#M000014" 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('M000070-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000070-source"> + onclick="toggleCode('M000014-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000014-source"> <pre> - <span class="ruby-comment cmt"># File lib/cachetastic/cacheable.rb, line 192</span> -192: <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>) -193: <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>) -194: <span class="ruby-keyword kw">end</span> + <span class="ruby-comment cmt"># File lib/cachetastic/cacheable.rb, line 196</span> +196: <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>) +197: <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>) +198: <span class="ruby-keyword kw">end</span> </pre> </div> </div> </div> \ No newline at end of file