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

- old
+ new

@@ -78,13 +78,13 @@ <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> - <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; + <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; </div> </div> </div> @@ -102,77 +102,77 @@ <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Instance methods</h3> - <div id="method-M000066" class="method-detail"> - <a name="M000066"></a> + <div id="method-M000069" class="method-detail"> + <a name="M000069"></a> <div class="method-heading"> - <a href="#M000066" class="method-signature"> + <a href="#M000069" 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('M000066-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000066-source"> + onclick="toggleCode('M000069-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000069-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> </pre> </div> </div> </div> - <div id="method-M000065" class="method-detail"> - <a name="M000065"></a> + <div id="method-M000068" class="method-detail"> + <a name="M000068"></a> <div class="method-heading"> - <a href="#M000065" class="method-signature"> + <a href="#M000068" 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('M000065-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000065-source"> + onclick="toggleCode('M000068-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000068-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> </pre> </div> </div> </div> - <div id="method-M000067" class="method-detail"> - <a name="M000067"></a> + <div id="method-M000070" class="method-detail"> + <a name="M000070"></a> <div class="method-heading"> - <a href="#M000067" class="method-signature"> + <a href="#M000070" 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('M000067-source');return false;">[Source]</a></p> - <div class="method-source-code" id="M000067-source"> + onclick="toggleCode('M000070-source');return false;">[Source]</a></p> + <div class="method-source-code" id="M000070-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> \ No newline at end of file