cachetastic 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/classes/ActiveRecord/Base.html +12 -12
- data/doc/classes/Cachetastic/Adapters/Base.html +33 -33
- data/doc/classes/Cachetastic/Adapters/Drb.html +42 -42
- data/doc/classes/Cachetastic/Adapters/File.html +18 -18
- data/doc/classes/Cachetastic/Adapters/FileBase.html +36 -36
- data/doc/classes/Cachetastic/Adapters/HtmlFile.html +18 -18
- data/doc/classes/Cachetastic/Adapters/LocalMemory.html +42 -42
- data/doc/classes/Cachetastic/Adapters/Memcache.html +72 -72
- data/doc/classes/Cachetastic/Cacheable.html +16 -16
- data/doc/classes/Cachetastic/Cacheable/ClassAndInstanceMethods.html +18 -18
- data/doc/classes/Cachetastic/Cacheable/ClassOnlyMethods.html +18 -18
- data/doc/classes/Cachetastic/Caches/Base.html +94 -94
- data/doc/classes/Cachetastic/Caches/Base/RegisteredCaches.html +6 -6
- data/doc/classes/Cachetastic/Caches/RailsSessionCache.html +6 -6
- data/doc/classes/Cachetastic/Connection.html +13 -13
- data/doc/classes/Cachetastic/Errors/UnsupportedAdapter.html +6 -6
- data/doc/classes/Cachetastic/Logger.html +6 -6
- data/doc/classes/Object.html +38 -6
- data/doc/classes/String.html +172 -0
- data/doc/created.rid +1 -1
- data/doc/files/lib/cachetastic/ruby_extensions/object_rb.html +1 -1
- data/doc/files/lib/cachetastic/ruby_extensions/string_rb.html +101 -0
- data/doc/files/lib/cachetastic_rb.html +1 -1
- data/doc/fr_class_index.html +1 -0
- data/doc/fr_file_index.html +1 -0
- data/doc/fr_method_index.html +77 -74
- data/lib/cachetastic.rb +1 -0
- data/lib/cachetastic/ruby_extensions/object.rb +14 -0
- data/lib/cachetastic/ruby_extensions/string.rb +15 -0
- data/test/memcache_adapter_test.rb +4 -0
- data/test/test_helper.rb +1 -2
- metadata +5 -2
@@ -88,8 +88,8 @@
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
89
89
|
|
90
90
|
<div class="name-list">
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
91
|
+
<a href="#M000077">cachetastic_key</a>
|
92
|
+
<a href="#M000078">get_from_cache</a>
|
93
93
|
</div>
|
94
94
|
</div>
|
95
95
|
|
@@ -118,11 +118,11 @@
|
|
118
118
|
<div id="methods">
|
119
119
|
<h3 class="section-bar">Public Class methods</h3>
|
120
120
|
|
121
|
-
<div id="method-
|
122
|
-
<a name="
|
121
|
+
<div id="method-M000078" class="method-detail">
|
122
|
+
<a name="M000078"></a>
|
123
123
|
|
124
124
|
<div class="method-heading">
|
125
|
-
<a href="#
|
125
|
+
<a href="#M000078" class="method-signature">
|
126
126
|
<span class="method-name">get_from_cache</span><span class="method-args">(key, self_populate = false)</span>
|
127
127
|
</a>
|
128
128
|
</div>
|
@@ -135,8 +135,8 @@ try and find the object in the database, set the object into the cache, and
|
|
135
135
|
then return the object.
|
136
136
|
</p>
|
137
137
|
<p><a class="source-toggle" href="#"
|
138
|
-
onclick="toggleCode('
|
139
|
-
<div class="method-source-code" id="
|
138
|
+
onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
|
139
|
+
<div class="method-source-code" id="M000078-source">
|
140
140
|
<pre>
|
141
141
|
<span class="ruby-comment cmt"># File lib/cachetastic/rails_extensions/active_record_base.rb, line 13</span>
|
142
142
|
13: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">get_from_cache</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">self_populate</span> = <span class="ruby-keyword kw">false</span>)
|
@@ -156,19 +156,19 @@ then return the object.
|
|
156
156
|
|
157
157
|
<h3 class="section-bar">Public Instance methods</h3>
|
158
158
|
|
159
|
-
<div id="method-
|
160
|
-
<a name="
|
159
|
+
<div id="method-M000077" class="method-detail">
|
160
|
+
<a name="M000077"></a>
|
161
161
|
|
162
162
|
<div class="method-heading">
|
163
|
-
<a href="#
|
163
|
+
<a href="#M000077" class="method-signature">
|
164
164
|
<span class="method-name">cachetastic_key</span><span class="method-args">()</span>
|
165
165
|
</a>
|
166
166
|
</div>
|
167
167
|
|
168
168
|
<div class="method-description">
|
169
169
|
<p><a class="source-toggle" href="#"
|
170
|
-
onclick="toggleCode('
|
171
|
-
<div class="method-source-code" id="
|
170
|
+
onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
|
171
|
+
<div class="method-source-code" id="M000077-source">
|
172
172
|
<pre>
|
173
173
|
<span class="ruby-comment cmt"># File lib/cachetastic/rails_extensions/active_record_base.rb, line 5</span>
|
174
174
|
5: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cachetastic_key</span>
|
@@ -107,11 +107,11 @@ the store supports it, a delay can be used.
|
|
107
107
|
<li>expire_all - expires all objects in the store for a given cache.
|
108
108
|
|
109
109
|
</li>
|
110
|
-
<li><a href="Base.html#
|
110
|
+
<li><a href="Base.html#M000037">stats</a> - returns statistics for the store.
|
111
111
|
|
112
112
|
</li>
|
113
113
|
<li>valid? - used to test whether or not the store is still valid. If this
|
114
|
-
returns false a <a href="Base.html#
|
114
|
+
returns false a <a href="Base.html#M000035">new</a> instance of the adapter
|
115
115
|
is created by <a href="../Connection.html">Cachetastic::Connection</a>
|
116
116
|
|
117
117
|
</li>
|
@@ -126,11 +126,11 @@ is created by <a href="../Connection.html">Cachetastic::Connection</a>
|
|
126
126
|
<h3 class="section-bar">Methods</h3>
|
127
127
|
|
128
128
|
<div class="name-list">
|
129
|
-
<a href="#
|
130
|
-
<a href="#
|
131
|
-
<a href="#
|
132
|
-
<a href="#
|
133
|
-
<a href="#
|
129
|
+
<a href="#M000039">configuration</a>
|
130
|
+
<a href="#M000038">configuration</a>
|
131
|
+
<a href="#M000036">debug?</a>
|
132
|
+
<a href="#M000035">new</a>
|
133
|
+
<a href="#M000037">stats</a>
|
134
134
|
</div>
|
135
135
|
</div>
|
136
136
|
|
@@ -176,11 +176,11 @@ attr_reader :all_options attr_reader :store_options attr_reader :servers
|
|
176
176
|
<div id="methods">
|
177
177
|
<h3 class="section-bar">Public Class methods</h3>
|
178
178
|
|
179
|
-
<div id="method-
|
180
|
-
<a name="
|
179
|
+
<div id="method-M000039" class="method-detail">
|
180
|
+
<a name="M000039"></a>
|
181
181
|
|
182
182
|
<div class="method-heading">
|
183
|
-
<a href="#
|
183
|
+
<a href="#M000039" class="method-signature">
|
184
184
|
<span class="method-name">configuration</span><span class="method-args">(name)</span>
|
185
185
|
</a>
|
186
186
|
</div>
|
@@ -196,8 +196,8 @@ Examples:
|
|
196
196
|
MyAwesomeCache # => my_awesome_cache_options
|
197
197
|
</pre>
|
198
198
|
<p><a class="source-toggle" href="#"
|
199
|
-
onclick="toggleCode('
|
200
|
-
<div class="method-source-code" id="
|
199
|
+
onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
|
200
|
+
<div class="method-source-code" id="M000039-source">
|
201
201
|
<pre>
|
202
202
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/base.rb, line 69</span>
|
203
203
|
69: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configuration</span>(<span class="ruby-identifier">name</span>)
|
@@ -210,19 +210,19 @@ Examples:
|
|
210
210
|
</div>
|
211
211
|
</div>
|
212
212
|
|
213
|
-
<div id="method-
|
214
|
-
<a name="
|
213
|
+
<div id="method-M000035" class="method-detail">
|
214
|
+
<a name="M000035"></a>
|
215
215
|
|
216
216
|
<div class="method-heading">
|
217
|
-
<a href="#
|
217
|
+
<a href="#M000035" class="method-signature">
|
218
218
|
<span class="method-name">new</span><span class="method-args">(name)</span>
|
219
219
|
</a>
|
220
220
|
</div>
|
221
221
|
|
222
222
|
<div class="method-description">
|
223
223
|
<p><a class="source-toggle" href="#"
|
224
|
-
onclick="toggleCode('
|
225
|
-
<div class="method-source-code" id="
|
224
|
+
onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
|
225
|
+
<div class="method-source-code" id="M000035-source">
|
226
226
|
<pre>
|
227
227
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/base.rb, line 24</span>
|
228
228
|
24: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>)
|
@@ -240,19 +240,19 @@ Examples:
|
|
240
240
|
|
241
241
|
<h3 class="section-bar">Public Instance methods</h3>
|
242
242
|
|
243
|
-
<div id="method-
|
244
|
-
<a name="
|
243
|
+
<div id="method-M000038" class="method-detail">
|
244
|
+
<a name="M000038"></a>
|
245
245
|
|
246
246
|
<div class="method-heading">
|
247
|
-
<a href="#
|
247
|
+
<a href="#M000038" class="method-signature">
|
248
248
|
<span class="method-name">configuration</span><span class="method-args">()</span>
|
249
249
|
</a>
|
250
250
|
</div>
|
251
251
|
|
252
252
|
<div class="method-description">
|
253
253
|
<p><a class="source-toggle" href="#"
|
254
|
-
onclick="toggleCode('
|
255
|
-
<div class="method-source-code" id="
|
254
|
+
onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
|
255
|
+
<div class="method-source-code" id="M000038-source">
|
256
256
|
<pre>
|
257
257
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/base.rb, line 58</span>
|
258
258
|
58: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">configuration</span>
|
@@ -263,11 +263,11 @@ Examples:
|
|
263
263
|
</div>
|
264
264
|
</div>
|
265
265
|
|
266
|
-
<div id="method-
|
267
|
-
<a name="
|
266
|
+
<div id="method-M000036" class="method-detail">
|
267
|
+
<a name="M000036"></a>
|
268
268
|
|
269
269
|
<div class="method-heading">
|
270
|
-
<a href="#
|
270
|
+
<a href="#M000036" class="method-signature">
|
271
271
|
<span class="method-name">debug?</span><span class="method-args">()</span>
|
272
272
|
</a>
|
273
273
|
</div>
|
@@ -275,12 +275,12 @@ Examples:
|
|
275
275
|
<div class="method-description">
|
276
276
|
<p>
|
277
277
|
Returns true/or falsed based on whether or not the debug setting is set to
|
278
|
-
true in the <a href="Base.html#
|
278
|
+
true in the <a href="Base.html#M000038">configuration</a> file. If the
|
279
279
|
config setting is set, then false is returned.
|
280
280
|
</p>
|
281
281
|
<p><a class="source-toggle" href="#"
|
282
|
-
onclick="toggleCode('
|
283
|
-
<div class="method-source-code" id="
|
282
|
+
onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
|
283
|
+
<div class="method-source-code" id="M000036-source">
|
284
284
|
<pre>
|
285
285
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/base.rb, line 43</span>
|
286
286
|
43: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">debug?</span>
|
@@ -291,19 +291,19 @@ config setting is set, then false is returned.
|
|
291
291
|
</div>
|
292
292
|
</div>
|
293
293
|
|
294
|
-
<div id="method-
|
295
|
-
<a name="
|
294
|
+
<div id="method-M000037" class="method-detail">
|
295
|
+
<a name="M000037"></a>
|
296
296
|
|
297
297
|
<div class="method-heading">
|
298
|
-
<a href="#
|
298
|
+
<a href="#M000037" class="method-signature">
|
299
299
|
<span class="method-name">stats</span><span class="method-args">()</span>
|
300
300
|
</a>
|
301
301
|
</div>
|
302
302
|
|
303
303
|
<div class="method-description">
|
304
304
|
<p><a class="source-toggle" href="#"
|
305
|
-
onclick="toggleCode('
|
306
|
-
<div class="method-source-code" id="
|
305
|
+
onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
|
306
|
+
<div class="method-source-code" id="M000037-source">
|
307
307
|
<pre>
|
308
308
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/base.rb, line 47</span>
|
309
309
|
47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stats</span>
|
@@ -102,13 +102,13 @@ configuration for this should look something like this:
|
|
102
102
|
<h3 class="section-bar">Methods</h3>
|
103
103
|
|
104
104
|
<div class="name-list">
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
108
|
-
<a href="#
|
109
|
-
<a href="#
|
110
|
-
<a href="#
|
111
|
-
<a href="#
|
105
|
+
<a href="#M000045">delete</a>
|
106
|
+
<a href="#M000042">expire_all</a>
|
107
|
+
<a href="#M000043">get</a>
|
108
|
+
<a href="#M000044">set</a>
|
109
|
+
<a href="#M000041">setup</a>
|
110
|
+
<a href="#M000046">stats</a>
|
111
|
+
<a href="#M000040">valid?</a>
|
112
112
|
</div>
|
113
113
|
</div>
|
114
114
|
|
@@ -143,19 +143,19 @@ configuration for this should look something like this:
|
|
143
143
|
<div id="methods">
|
144
144
|
<h3 class="section-bar">Public Instance methods</h3>
|
145
145
|
|
146
|
-
<div id="method-
|
147
|
-
<a name="
|
146
|
+
<div id="method-M000045" class="method-detail">
|
147
|
+
<a name="M000045"></a>
|
148
148
|
|
149
149
|
<div class="method-heading">
|
150
|
-
<a href="#
|
150
|
+
<a href="#M000045" class="method-signature">
|
151
151
|
<span class="method-name">delete</span><span class="method-args">(key, delay = 0)</span>
|
152
152
|
</a>
|
153
153
|
</div>
|
154
154
|
|
155
155
|
<div class="method-description">
|
156
156
|
<p><a class="source-toggle" href="#"
|
157
|
-
onclick="toggleCode('
|
158
|
-
<div class="method-source-code" id="
|
157
|
+
onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
|
158
|
+
<div class="method-source-code" id="M000045-source">
|
159
159
|
<pre>
|
160
160
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/drb.rb, line 38</span>
|
161
161
|
38: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">delay</span> = <span class="ruby-value">0</span>)
|
@@ -166,19 +166,19 @@ configuration for this should look something like this:
|
|
166
166
|
</div>
|
167
167
|
</div>
|
168
168
|
|
169
|
-
<div id="method-
|
170
|
-
<a name="
|
169
|
+
<div id="method-M000042" class="method-detail">
|
170
|
+
<a name="M000042"></a>
|
171
171
|
|
172
172
|
<div class="method-heading">
|
173
|
-
<a href="#
|
173
|
+
<a href="#M000042" class="method-signature">
|
174
174
|
<span class="method-name">expire_all</span><span class="method-args">()</span>
|
175
175
|
</a>
|
176
176
|
</div>
|
177
177
|
|
178
178
|
<div class="method-description">
|
179
179
|
<p><a class="source-toggle" href="#"
|
180
|
-
onclick="toggleCode('
|
181
|
-
<div class="method-source-code" id="
|
180
|
+
onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
|
181
|
+
<div class="method-source-code" id="M000042-source">
|
182
182
|
<pre>
|
183
183
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/drb.rb, line 25</span>
|
184
184
|
25: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">expire_all</span>
|
@@ -189,11 +189,11 @@ configuration for this should look something like this:
|
|
189
189
|
</div>
|
190
190
|
</div>
|
191
191
|
|
192
|
-
<div id="method-
|
193
|
-
<a name="
|
192
|
+
<div id="method-M000043" class="method-detail">
|
193
|
+
<a name="M000043"></a>
|
194
194
|
|
195
195
|
<div class="method-heading">
|
196
|
-
<a href="#
|
196
|
+
<a href="#M000043" class="method-signature">
|
197
197
|
<span class="method-name">get</span><span class="method-args">(key)</span>
|
198
198
|
</a>
|
199
199
|
</div>
|
@@ -203,8 +203,8 @@ configuration for this should look something like this:
|
|
203
203
|
See <a href="Base.html">Cachetastic::Adapters::Base</a>
|
204
204
|
</p>
|
205
205
|
<p><a class="source-toggle" href="#"
|
206
|
-
onclick="toggleCode('
|
207
|
-
<div class="method-source-code" id="
|
206
|
+
onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
|
207
|
+
<div class="method-source-code" id="M000043-source">
|
208
208
|
<pre>
|
209
209
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/drb.rb, line 30</span>
|
210
210
|
30: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">key</span>)
|
@@ -215,19 +215,19 @@ See <a href="Base.html">Cachetastic::Adapters::Base</a>
|
|
215
215
|
</div>
|
216
216
|
</div>
|
217
217
|
|
218
|
-
<div id="method-
|
219
|
-
<a name="
|
218
|
+
<div id="method-M000044" class="method-detail">
|
219
|
+
<a name="M000044"></a>
|
220
220
|
|
221
221
|
<div class="method-heading">
|
222
|
-
<a href="#
|
222
|
+
<a href="#M000044" class="method-signature">
|
223
223
|
<span class="method-name">set</span><span class="method-args">(key, value, expiry = 0)</span>
|
224
224
|
</a>
|
225
225
|
</div>
|
226
226
|
|
227
227
|
<div class="method-description">
|
228
228
|
<p><a class="source-toggle" href="#"
|
229
|
-
onclick="toggleCode('
|
230
|
-
<div class="method-source-code" id="
|
229
|
+
onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
|
230
|
+
<div class="method-source-code" id="M000044-source">
|
231
231
|
<pre>
|
232
232
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/drb.rb, line 34</span>
|
233
233
|
34: <span class="ruby-keyword kw">def</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> = <span class="ruby-value">0</span>)
|
@@ -238,19 +238,19 @@ See <a href="Base.html">Cachetastic::Adapters::Base</a>
|
|
238
238
|
</div>
|
239
239
|
</div>
|
240
240
|
|
241
|
-
<div id="method-
|
242
|
-
<a name="
|
241
|
+
<div id="method-M000041" class="method-detail">
|
242
|
+
<a name="M000041"></a>
|
243
243
|
|
244
244
|
<div class="method-heading">
|
245
|
-
<a href="#
|
245
|
+
<a href="#M000041" class="method-signature">
|
246
246
|
<span class="method-name">setup</span><span class="method-args">()</span>
|
247
247
|
</a>
|
248
248
|
</div>
|
249
249
|
|
250
250
|
<div class="method-description">
|
251
251
|
<p><a class="source-toggle" href="#"
|
252
|
-
onclick="toggleCode('
|
253
|
-
<div class="method-source-code" id="
|
252
|
+
onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
|
253
|
+
<div class="method-source-code" id="M000041-source">
|
254
254
|
<pre>
|
255
255
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/drb.rb, line 20</span>
|
256
256
|
20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">setup</span>
|
@@ -262,19 +262,19 @@ See <a href="Base.html">Cachetastic::Adapters::Base</a>
|
|
262
262
|
</div>
|
263
263
|
</div>
|
264
264
|
|
265
|
-
<div id="method-
|
266
|
-
<a name="
|
265
|
+
<div id="method-M000046" class="method-detail">
|
266
|
+
<a name="M000046"></a>
|
267
267
|
|
268
268
|
<div class="method-heading">
|
269
|
-
<a href="#
|
269
|
+
<a href="#M000046" class="method-signature">
|
270
270
|
<span class="method-name">stats</span><span class="method-args">()</span>
|
271
271
|
</a>
|
272
272
|
</div>
|
273
273
|
|
274
274
|
<div class="method-description">
|
275
275
|
<p><a class="source-toggle" href="#"
|
276
|
-
onclick="toggleCode('
|
277
|
-
<div class="method-source-code" id="
|
276
|
+
onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
|
277
|
+
<div class="method-source-code" id="M000046-source">
|
278
278
|
<pre>
|
279
279
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/drb.rb, line 42</span>
|
280
280
|
42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stats</span>
|
@@ -290,19 +290,19 @@ See <a href="Base.html">Cachetastic::Adapters::Base</a>
|
|
290
290
|
</div>
|
291
291
|
</div>
|
292
292
|
|
293
|
-
<div id="method-
|
294
|
-
<a name="
|
293
|
+
<div id="method-M000040" class="method-detail">
|
294
|
+
<a name="M000040"></a>
|
295
295
|
|
296
296
|
<div class="method-heading">
|
297
|
-
<a href="#
|
297
|
+
<a href="#M000040" class="method-signature">
|
298
298
|
<span class="method-name">valid?</span><span class="method-args">()</span>
|
299
299
|
</a>
|
300
300
|
</div>
|
301
301
|
|
302
302
|
<div class="method-description">
|
303
303
|
<p><a class="source-toggle" href="#"
|
304
|
-
onclick="toggleCode('
|
305
|
-
<div class="method-source-code" id="
|
304
|
+
onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
|
305
|
+
<div class="method-source-code" id="M000040-source">
|
306
306
|
<pre>
|
307
307
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/drb.rb, line 12</span>
|
308
308
|
12: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">valid?</span>
|
@@ -108,9 +108,9 @@ for this should look something like this:
|
|
108
108
|
<h3 class="section-bar">Methods</h3>
|
109
109
|
|
110
110
|
<div class="name-list">
|
111
|
-
<a href="#
|
112
|
-
<a href="#
|
113
|
-
<a href="#
|
111
|
+
<a href="#M000047">get</a>
|
112
|
+
<a href="#M000048">set</a>
|
113
|
+
<a href="#M000049">store_file_name</a>
|
114
114
|
</div>
|
115
115
|
</div>
|
116
116
|
|
@@ -145,19 +145,19 @@ for this should look something like this:
|
|
145
145
|
<div id="methods">
|
146
146
|
<h3 class="section-bar">Public Instance methods</h3>
|
147
147
|
|
148
|
-
<div id="method-
|
149
|
-
<a name="
|
148
|
+
<div id="method-M000047" class="method-detail">
|
149
|
+
<a name="M000047"></a>
|
150
150
|
|
151
151
|
<div class="method-heading">
|
152
|
-
<a href="#
|
152
|
+
<a href="#M000047" class="method-signature">
|
153
153
|
<span class="method-name">get</span><span class="method-args">(key)</span>
|
154
154
|
</a>
|
155
155
|
</div>
|
156
156
|
|
157
157
|
<div class="method-description">
|
158
158
|
<p><a class="source-toggle" href="#"
|
159
|
-
onclick="toggleCode('
|
160
|
-
<div class="method-source-code" id="
|
159
|
+
onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
|
160
|
+
<div class="method-source-code" id="M000047-source">
|
161
161
|
<pre>
|
162
162
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/file.rb, line 16</span>
|
163
163
|
16: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">key</span>)
|
@@ -182,19 +182,19 @@ for this should look something like this:
|
|
182
182
|
</div>
|
183
183
|
</div>
|
184
184
|
|
185
|
-
<div id="method-
|
186
|
-
<a name="
|
185
|
+
<div id="method-M000048" class="method-detail">
|
186
|
+
<a name="M000048"></a>
|
187
187
|
|
188
188
|
<div class="method-heading">
|
189
|
-
<a href="#
|
189
|
+
<a href="#M000048" class="method-signature">
|
190
190
|
<span class="method-name">set</span><span class="method-args">(key, value, expiry = 0)</span>
|
191
191
|
</a>
|
192
192
|
</div>
|
193
193
|
|
194
194
|
<div class="method-description">
|
195
195
|
<p><a class="source-toggle" href="#"
|
196
|
-
onclick="toggleCode('
|
197
|
-
<div class="method-source-code" id="
|
196
|
+
onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
|
197
|
+
<div class="method-source-code" id="M000048-source">
|
198
198
|
<pre>
|
199
199
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/file.rb, line 34</span>
|
200
200
|
34: <span class="ruby-keyword kw">def</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> = <span class="ruby-value">0</span>)
|
@@ -210,19 +210,19 @@ for this should look something like this:
|
|
210
210
|
|
211
211
|
<h3 class="section-bar">Protected Instance methods</h3>
|
212
212
|
|
213
|
-
<div id="method-
|
214
|
-
<a name="
|
213
|
+
<div id="method-M000049" class="method-detail">
|
214
|
+
<a name="M000049"></a>
|
215
215
|
|
216
216
|
<div class="method-heading">
|
217
|
-
<a href="#
|
217
|
+
<a href="#M000049" class="method-signature">
|
218
218
|
<span class="method-name">store_file_name</span><span class="method-args">()</span>
|
219
219
|
</a>
|
220
220
|
</div>
|
221
221
|
|
222
222
|
<div class="method-description">
|
223
223
|
<p><a class="source-toggle" href="#"
|
224
|
-
onclick="toggleCode('
|
225
|
-
<div class="method-source-code" id="
|
224
|
+
onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
|
225
|
+
<div class="method-source-code" id="M000049-source">
|
226
226
|
<pre>
|
227
227
|
<span class="ruby-comment cmt"># File lib/cachetastic/adapters/file.rb, line 42</span>
|
228
228
|
42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">store_file_name</span>
|