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

- old
+ new

@@ -119,14 +119,14 @@ </p> <p><a class="source-toggle" href="#" 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> -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> + <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> @@ -145,14 +145,14 @@ </p> <p><a class="source-toggle" href="#" 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> -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> + <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> @@ -171,13 +171,13 @@ </p> <p><a class="source-toggle" href="#" 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> -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> + <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> </pre> </div> </div> </div> \ No newline at end of file