redis_object 0.5.0 → 1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. data/.gitignore +0 -2
  2. data/Gemfile +0 -4
  3. data/README.markdown +15 -24
  4. data/Rakefile +0 -8
  5. data/doc/Object.html +185 -0
  6. data/doc/Seabright.html +181 -0
  7. data/doc/Seabright/Adapter.html +442 -0
  8. data/doc/Seabright/Collection.html +797 -0
  9. data/doc/Seabright/Collections.html +635 -0
  10. data/doc/Seabright/Collections/ClassMethods.html +212 -0
  11. data/doc/Seabright/ExternalIndex.html +217 -0
  12. data/doc/Seabright/History.html +382 -0
  13. data/doc/Seabright/History/ClassMethods.html +276 -0
  14. data/doc/Seabright/Indices.html +324 -0
  15. data/doc/Seabright/Indices/ClassMethods.html +348 -0
  16. data/doc/Seabright/Keys.html +314 -0
  17. data/doc/Seabright/Keys/ClassMethods.html +276 -0
  18. data/doc/Seabright/ObjectBase.html +852 -0
  19. data/doc/Seabright/ObjectBase/ClassMethods.html +677 -0
  20. data/doc/Seabright/RedisObject.html +230 -0
  21. data/doc/Seabright/References.html +280 -0
  22. data/doc/Seabright/Storage.html +252 -0
  23. data/doc/Seabright/Storage/ClassMethods.html +276 -0
  24. data/doc/Seabright/Storage/MySQL.html +442 -0
  25. data/doc/Seabright/Storage/Redis.html +218 -0
  26. data/doc/Seabright/Template.html +212 -0
  27. data/doc/Seabright/Template/ClassMethods.html +166 -0
  28. data/doc/Seabright/Timestamps.html +292 -0
  29. data/doc/Seabright/Timestamps/ClassMethods.html +214 -0
  30. data/doc/Seabright/Types.html +410 -0
  31. data/doc/Seabright/Types/ClassMethods.html +308 -0
  32. data/doc/created.rid +17 -0
  33. data/doc/images/add.png +0 -0
  34. data/doc/images/brick.png +0 -0
  35. data/doc/images/brick_link.png +0 -0
  36. data/doc/images/bug.png +0 -0
  37. data/doc/images/bullet_black.png +0 -0
  38. data/doc/images/bullet_toggle_minus.png +0 -0
  39. data/doc/images/bullet_toggle_plus.png +0 -0
  40. data/doc/images/date.png +0 -0
  41. data/doc/images/delete.png +0 -0
  42. data/doc/images/find.png +0 -0
  43. data/doc/images/loadingAnimation.gif +0 -0
  44. data/doc/images/macFFBgHack.png +0 -0
  45. data/doc/images/package.png +0 -0
  46. data/doc/images/page_green.png +0 -0
  47. data/doc/images/page_white_text.png +0 -0
  48. data/doc/images/page_white_width.png +0 -0
  49. data/doc/images/plugin.png +0 -0
  50. data/doc/images/ruby.png +0 -0
  51. data/doc/images/tag_blue.png +0 -0
  52. data/doc/images/tag_green.png +0 -0
  53. data/doc/images/transparent.png +0 -0
  54. data/doc/images/wrench.png +0 -0
  55. data/doc/images/wrench_orange.png +0 -0
  56. data/doc/images/zoom.png +0 -0
  57. data/doc/index.html +125 -0
  58. data/doc/js/darkfish.js +153 -0
  59. data/doc/js/jquery.js +18 -0
  60. data/doc/js/navigation.js +142 -0
  61. data/doc/js/search.js +94 -0
  62. data/doc/js/search_index.js +1 -0
  63. data/doc/js/searcher.js +228 -0
  64. data/doc/rdoc.css +543 -0
  65. data/doc/table_of_contents.html +394 -0
  66. data/lib/redis_object.rb +1 -11
  67. data/lib/redis_object/base.rb +60 -210
  68. data/lib/redis_object/collection.rb +100 -130
  69. data/lib/redis_object/defaults.rb +8 -21
  70. data/lib/redis_object/ext/filters.rb +16 -34
  71. data/lib/redis_object/ext/triggers.rb +13 -75
  72. data/lib/redis_object/{experimental/history.rb → history.rb} +0 -0
  73. data/lib/redis_object/indices.rb +39 -44
  74. data/lib/redis_object/keys.rb +4 -4
  75. data/lib/redis_object/storage.rb +1 -30
  76. data/lib/redis_object/storage/adapter.rb +3 -6
  77. data/lib/redis_object/storage/redis.rb +3 -98
  78. data/lib/redis_object/timestamps.rb +21 -42
  79. data/lib/redis_object/types.rb +30 -172
  80. data/lib/redis_object/version.rb +1 -1
  81. data/redis_object.gemspec +0 -1
  82. data/spec/base_spec.rb +6 -41
  83. data/spec/spec_helper.rb +1 -32
  84. metadata +116 -111
  85. data/.coveralls.yml +0 -1
  86. data/.travis.yml +0 -5
  87. data/lib/redis_object/ext/script_cache.rb +0 -92
  88. data/lib/redis_object/ext/shardable.rb +0 -18
  89. data/lib/redis_object/ext/view_caching.rb +0 -258
  90. data/lib/redis_object/ext/views.rb +0 -102
  91. data/lib/redis_object/inheritance_tracking.rb +0 -23
  92. data/spec/adapter_spec.rb +0 -43
  93. data/spec/benchmark_spec.rb +0 -46
  94. data/spec/collections_spec.rb +0 -144
  95. data/spec/defaults_spec.rb +0 -56
  96. data/spec/filters_spec.rb +0 -29
  97. data/spec/indices_spec.rb +0 -45
  98. data/spec/rename_class_spec.rb +0 -96
  99. data/spec/timestamp_spec.rb +0 -28
  100. data/spec/trigger_spec.rb +0 -51
  101. data/spec/types_spec.rb +0 -103
  102. data/spec/view_caching_spec.rb +0 -130
  103. data/spec/views_spec.rb +0 -72
@@ -0,0 +1,252 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>module Seabright::Storage - StubbornObject</title>
8
+
9
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="module">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../index.html">Home</a>
28
+ <a href="../table_of_contents.html#classes">Classes</a>
29
+ <a href="../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/redis_object/storage/mysql.rb
51
+ <li>lib/redis_object/storage/redis.rb
52
+ <li>lib/redis_object/storage.rb
53
+ </ul>
54
+ </nav>
55
+
56
+
57
+ </div>
58
+
59
+ <div id="class-metadata">
60
+
61
+
62
+
63
+ <!-- Method Quickref -->
64
+ <nav id="method-list-section" class="section">
65
+ <h3 class="section-header">Methods</h3>
66
+
67
+ <ul class="link-list">
68
+
69
+ <li><a href="#method-c-included">::included</a>
70
+
71
+ <li><a href="#method-i-store">#store</a>
72
+
73
+ </ul>
74
+ </nav>
75
+
76
+ </div>
77
+
78
+ <div id="project-metadata">
79
+
80
+ <nav id="classindex-section" class="section project-section">
81
+ <h3 class="section-header">Class and Module Index</h3>
82
+
83
+ <ul class="link-list">
84
+
85
+ <li><a href="../Seabright.html">Seabright</a>
86
+
87
+ <li><a href="../Seabright/Adapter.html">Seabright::Adapter</a>
88
+
89
+ <li><a href="../Seabright/Collection.html">Seabright::Collection</a>
90
+
91
+ <li><a href="../Seabright/Collections.html">Seabright::Collections</a>
92
+
93
+ <li><a href="../Seabright/Collections/ClassMethods.html">Seabright::Collections::ClassMethods</a>
94
+
95
+ <li><a href="../Seabright/ExternalIndex.html">Seabright::ExternalIndex</a>
96
+
97
+ <li><a href="../Seabright/History.html">Seabright::History</a>
98
+
99
+ <li><a href="../Seabright/History/ClassMethods.html">Seabright::History::ClassMethods</a>
100
+
101
+ <li><a href="../Seabright/Indices.html">Seabright::Indices</a>
102
+
103
+ <li><a href="../Seabright/Indices/ClassMethods.html">Seabright::Indices::ClassMethods</a>
104
+
105
+ <li><a href="../Seabright/Keys.html">Seabright::Keys</a>
106
+
107
+ <li><a href="../Seabright/Keys/ClassMethods.html">Seabright::Keys::ClassMethods</a>
108
+
109
+ <li><a href="../Seabright/ObjectBase.html">Seabright::ObjectBase</a>
110
+
111
+ <li><a href="../Seabright/ObjectBase/ClassMethods.html">Seabright::ObjectBase::ClassMethods</a>
112
+
113
+ <li><a href="../Seabright/RedisObject.html">Seabright::RedisObject</a>
114
+
115
+ <li><a href="../Seabright/RedisObject.html">Seabright::RedisObject</a>
116
+
117
+ <li><a href="../Seabright/References.html">Seabright::References</a>
118
+
119
+ <li><a href="../Seabright/Storage.html">Seabright::Storage</a>
120
+
121
+ <li><a href="../Seabright/Storage/ClassMethods.html">Seabright::Storage::ClassMethods</a>
122
+
123
+ <li><a href="../Seabright/Storage/MySQL.html">Seabright::Storage::MySQL</a>
124
+
125
+ <li><a href="../Seabright/Storage/Redis.html">Seabright::Storage::Redis</a>
126
+
127
+ <li><a href="../Seabright/Template.html">Seabright::Template</a>
128
+
129
+ <li><a href="../Seabright/Template/ClassMethods.html">Seabright::Template::ClassMethods</a>
130
+
131
+ <li><a href="../Seabright/Timestamps.html">Seabright::Timestamps</a>
132
+
133
+ <li><a href="../Seabright/Timestamps/ClassMethods.html">Seabright::Timestamps::ClassMethods</a>
134
+
135
+ <li><a href="../Seabright/Types.html">Seabright::Types</a>
136
+
137
+ <li><a href="../Seabright/Types/ClassMethods.html">Seabright::Types::ClassMethods</a>
138
+
139
+ <li><a href="../Object.html">Object</a>
140
+
141
+ <li><a href="../Seabright/RedisObject.html">Object::RedisObject</a>
142
+
143
+ </ul>
144
+ </nav>
145
+
146
+ </div>
147
+ </nav>
148
+
149
+ <div id="documentation">
150
+ <h1 class="module">module Seabright::Storage</h1>
151
+
152
+ <div id="description" class="description">
153
+
154
+ </div><!-- description -->
155
+
156
+
157
+
158
+
159
+ <section id="5Buntitled-5D" class="documentation-section">
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <!-- Methods -->
169
+
170
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
171
+ <h3 class="section-header">Public Class Methods</h3>
172
+
173
+
174
+ <div id="method-c-included" class="method-detail ">
175
+
176
+ <div class="method-heading">
177
+ <span class="method-name">included</span><span
178
+ class="method-args">(base)</span>
179
+ <span class="method-click-advice">click to toggle source</span>
180
+ </div>
181
+
182
+
183
+ <div class="method-description">
184
+
185
+
186
+
187
+
188
+
189
+ <div class="method-source-code" id="included-source">
190
+ <pre><span class="ruby-comment"># File lib/redis_object/storage.rb, line 27</span>
191
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">included</span>(<span class="ruby-identifier">base</span>)
192
+ <span class="ruby-identifier">base</span>.<span class="ruby-identifier">extend</span>(<span class="ruby-constant">ClassMethods</span>)
193
+ <span class="ruby-keyword">end</span></pre>
194
+ </div><!-- included-source -->
195
+
196
+ </div>
197
+
198
+
199
+
200
+
201
+ </div><!-- included-method -->
202
+
203
+
204
+ </section><!-- public-class-method-details -->
205
+
206
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
207
+ <h3 class="section-header">Public Instance Methods</h3>
208
+
209
+
210
+ <div id="method-i-store" class="method-detail ">
211
+
212
+ <div class="method-heading">
213
+ <span class="method-name">store</span><span
214
+ class="method-args">()</span>
215
+ <span class="method-click-advice">click to toggle source</span>
216
+ </div>
217
+
218
+
219
+ <div class="method-description">
220
+
221
+
222
+
223
+
224
+
225
+ <div class="method-source-code" id="store-source">
226
+ <pre><span class="ruby-comment"># File lib/redis_object/storage.rb, line 7</span>
227
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">store</span>
228
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">store</span>
229
+ <span class="ruby-keyword">end</span></pre>
230
+ </div><!-- store-source -->
231
+
232
+ </div>
233
+
234
+
235
+
236
+
237
+ </div><!-- store-method -->
238
+
239
+
240
+ </section><!-- public-instance-method-details -->
241
+
242
+ </section><!-- 5Buntitled-5D -->
243
+
244
+ </div><!-- documentation -->
245
+
246
+
247
+ <footer id="validator-badges">
248
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
249
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
250
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
251
+ </footer>
252
+
@@ -0,0 +1,276 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>module Seabright::Storage::ClassMethods - StubbornObject</title>
8
+
9
+ <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="module">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../../index.html">Home</a>
28
+ <a href="../../table_of_contents.html#classes">Classes</a>
29
+ <a href="../../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/redis_object/storage.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+
60
+
61
+ <!-- Method Quickref -->
62
+ <nav id="method-list-section" class="section">
63
+ <h3 class="section-header">Methods</h3>
64
+
65
+ <ul class="link-list">
66
+
67
+ <li><a href="#method-i-adapter">#adapter</a>
68
+
69
+ <li><a href="#method-i-set_storage">#set_storage</a>
70
+
71
+ <li><a href="#method-i-store">#store</a>
72
+
73
+ </ul>
74
+ </nav>
75
+
76
+ </div>
77
+
78
+ <div id="project-metadata">
79
+
80
+ <nav id="classindex-section" class="section project-section">
81
+ <h3 class="section-header">Class and Module Index</h3>
82
+
83
+ <ul class="link-list">
84
+
85
+ <li><a href="../../Seabright.html">Seabright</a>
86
+
87
+ <li><a href="../../Seabright/Adapter.html">Seabright::Adapter</a>
88
+
89
+ <li><a href="../../Seabright/Collection.html">Seabright::Collection</a>
90
+
91
+ <li><a href="../../Seabright/Collections.html">Seabright::Collections</a>
92
+
93
+ <li><a href="../../Seabright/Collections/ClassMethods.html">Seabright::Collections::ClassMethods</a>
94
+
95
+ <li><a href="../../Seabright/ExternalIndex.html">Seabright::ExternalIndex</a>
96
+
97
+ <li><a href="../../Seabright/History.html">Seabright::History</a>
98
+
99
+ <li><a href="../../Seabright/History/ClassMethods.html">Seabright::History::ClassMethods</a>
100
+
101
+ <li><a href="../../Seabright/Indices.html">Seabright::Indices</a>
102
+
103
+ <li><a href="../../Seabright/Indices/ClassMethods.html">Seabright::Indices::ClassMethods</a>
104
+
105
+ <li><a href="../../Seabright/Keys.html">Seabright::Keys</a>
106
+
107
+ <li><a href="../../Seabright/Keys/ClassMethods.html">Seabright::Keys::ClassMethods</a>
108
+
109
+ <li><a href="../../Seabright/ObjectBase.html">Seabright::ObjectBase</a>
110
+
111
+ <li><a href="../../Seabright/ObjectBase/ClassMethods.html">Seabright::ObjectBase::ClassMethods</a>
112
+
113
+ <li><a href="../../Seabright/RedisObject.html">Seabright::RedisObject</a>
114
+
115
+ <li><a href="../../Seabright/RedisObject.html">Seabright::RedisObject</a>
116
+
117
+ <li><a href="../../Seabright/References.html">Seabright::References</a>
118
+
119
+ <li><a href="../../Seabright/Storage.html">Seabright::Storage</a>
120
+
121
+ <li><a href="../../Seabright/Storage/ClassMethods.html">Seabright::Storage::ClassMethods</a>
122
+
123
+ <li><a href="../../Seabright/Storage/MySQL.html">Seabright::Storage::MySQL</a>
124
+
125
+ <li><a href="../../Seabright/Storage/Redis.html">Seabright::Storage::Redis</a>
126
+
127
+ <li><a href="../../Seabright/Template.html">Seabright::Template</a>
128
+
129
+ <li><a href="../../Seabright/Template/ClassMethods.html">Seabright::Template::ClassMethods</a>
130
+
131
+ <li><a href="../../Seabright/Timestamps.html">Seabright::Timestamps</a>
132
+
133
+ <li><a href="../../Seabright/Timestamps/ClassMethods.html">Seabright::Timestamps::ClassMethods</a>
134
+
135
+ <li><a href="../../Seabright/Types.html">Seabright::Types</a>
136
+
137
+ <li><a href="../../Seabright/Types/ClassMethods.html">Seabright::Types::ClassMethods</a>
138
+
139
+ <li><a href="../../Object.html">Object</a>
140
+
141
+ <li><a href="../../Seabright/RedisObject.html">Object::RedisObject</a>
142
+
143
+ </ul>
144
+ </nav>
145
+
146
+ </div>
147
+ </nav>
148
+
149
+ <div id="documentation">
150
+ <h1 class="module">module Seabright::Storage::ClassMethods</h1>
151
+
152
+ <div id="description" class="description">
153
+
154
+ </div><!-- description -->
155
+
156
+
157
+
158
+
159
+ <section id="5Buntitled-5D" class="documentation-section">
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <!-- Methods -->
169
+
170
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
171
+ <h3 class="section-header">Public Instance Methods</h3>
172
+
173
+
174
+ <div id="method-i-adapter" class="method-detail ">
175
+
176
+ <div class="method-heading">
177
+ <span class="method-name">adapter</span><span
178
+ class="method-args">()</span>
179
+ <span class="method-click-advice">click to toggle source</span>
180
+ </div>
181
+
182
+
183
+ <div class="method-description">
184
+
185
+
186
+
187
+
188
+
189
+ <div class="method-source-code" id="adapter-source">
190
+ <pre><span class="ruby-comment"># File lib/redis_object/storage.rb, line 17</span>
191
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">adapter</span>
192
+ <span class="ruby-identifier">@@adapter</span> <span class="ruby-operator">||=</span> <span class="ruby-value">:Redis</span>
193
+ <span class="ruby-keyword">end</span></pre>
194
+ </div><!-- adapter-source -->
195
+
196
+ </div>
197
+
198
+
199
+
200
+
201
+ </div><!-- adapter-method -->
202
+
203
+
204
+ <div id="method-i-set_storage" class="method-detail ">
205
+
206
+ <div class="method-heading">
207
+ <span class="method-name">set_storage</span><span
208
+ class="method-args">(adp=adapter)</span>
209
+ <span class="method-click-advice">click to toggle source</span>
210
+ </div>
211
+
212
+
213
+ <div class="method-description">
214
+
215
+
216
+
217
+
218
+
219
+ <div class="method-source-code" id="set_storage-source">
220
+ <pre><span class="ruby-comment"># File lib/redis_object/storage.rb, line 13</span>
221
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">set_storage</span>(<span class="ruby-identifier">adp</span>=<span class="ruby-identifier">adapter</span>)
222
+ <span class="ruby-identifier">@@adapter</span> = <span class="ruby-identifier">adp</span>
223
+ <span class="ruby-keyword">end</span></pre>
224
+ </div><!-- set_storage-source -->
225
+
226
+ </div>
227
+
228
+
229
+
230
+
231
+ </div><!-- set_storage-method -->
232
+
233
+
234
+ <div id="method-i-store" class="method-detail ">
235
+
236
+ <div class="method-heading">
237
+ <span class="method-name">store</span><span
238
+ class="method-args">()</span>
239
+ <span class="method-click-advice">click to toggle source</span>
240
+ </div>
241
+
242
+
243
+ <div class="method-description">
244
+
245
+
246
+
247
+
248
+
249
+ <div class="method-source-code" id="store-source">
250
+ <pre><span class="ruby-comment"># File lib/redis_object/storage.rb, line 21</span>
251
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">store</span>
252
+ <span class="ruby-identifier">@@storage</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">const_get</span>(<span class="ruby-identifier">adapter</span>).<span class="ruby-identifier">new</span>
253
+ <span class="ruby-keyword">end</span></pre>
254
+ </div><!-- store-source -->
255
+
256
+ </div>
257
+
258
+
259
+
260
+
261
+ </div><!-- store-method -->
262
+
263
+
264
+ </section><!-- public-instance-method-details -->
265
+
266
+ </section><!-- 5Buntitled-5D -->
267
+
268
+ </div><!-- documentation -->
269
+
270
+
271
+ <footer id="validator-badges">
272
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
273
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
274
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
275
+ </footer>
276
+