doc/classes/Cachetastic/Caches/Base.src/M000033.html in cachetastic-1.0.7 vs doc/classes/Cachetastic/Caches/Base.src/M000033.html in cachetastic-1.0.8
- old
+ new
@@ -8,10 +8,10 @@
<title>get (Cachetastic::Caches::Base)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/caches/cachetastic_caches_base.rb, line 9</span>
+ <pre><span class="ruby-comment cmt"># File lib/caches/cachetastic_caches_base.rb, line 7</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">key</span>)
<span class="ruby-identifier">res</span> = <span class="ruby-keyword kw">nil</span>
<span class="ruby-identifier">do_with_logging</span>(<span class="ruby-identifier">:get</span>, <span class="ruby-identifier">key</span>) <span class="ruby-keyword kw">do</span>
<span class="ruby-identifier">res</span> = <span class="ruby-identifier">store</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">key</span>.<span class="ruby-identifier">to_s</span>)
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">res</span>.<span class="ruby-identifier">nil?</span>
\ No newline at end of file