uncharted 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -3
- data/.metrics +8 -0
- data/CHANGELOG.md +8 -0
- data/Rakefile +7 -1
- data/lib/{version.rb → uncharted/version.rb} +1 -1
- data/test/country_test.rb +5 -0
- data/test/test_helper.rb +18 -2
- data/uncharted.gemspec +7 -7
- metadata +11 -48
- data/.yardoc/checksums +0 -6
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/Gemfile.lock +0 -21
- data/doc/.yardoc/checksums +0 -0
- data/doc/.yardoc/objects/root.dat +0 -0
- data/doc/.yardoc/proxy_types +0 -0
- data/doc/Uncharted/Country/Field.html +0 -233
- data/doc/Uncharted/Country.html +0 -888
- data/doc/Uncharted/Territory/Field.html +0 -233
- data/doc/Uncharted/Territory.html +0 -809
- data/doc/Uncharted.html +0 -108
- data/doc/_index.html +0 -158
- data/doc/class_list.html +0 -47
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -53
- data/doc/css/style.css +0 -320
- data/doc/doc/_index.html +0 -84
- data/doc/doc/class_list.html +0 -47
- data/doc/doc/css/common.css +0 -1
- data/doc/doc/css/full_list.css +0 -53
- data/doc/doc/css/style.css +0 -320
- data/doc/doc/file_list.html +0 -46
- data/doc/doc/frames.html +0 -13
- data/doc/doc/index.html +0 -84
- data/doc/doc/js/app.js +0 -205
- data/doc/doc/js/full_list.js +0 -150
- data/doc/doc/js/jquery.js +0 -16
- data/doc/doc/method_list.html +0 -46
- data/doc/doc/top-level-namespace.html +0 -93
- data/doc/file.README.html +0 -122
- data/doc/file_list.html +0 -49
- data/doc/frames.html +0 -13
- data/doc/index.html +0 -122
- data/doc/js/app.js +0 -205
- data/doc/js/full_list.js +0 -150
- data/doc/js/jquery.js +0 -16
- data/doc/method_list.html +0 -262
- data/doc/top-level-namespace.html +0 -120
@@ -1,233 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: Uncharted::Territory::Field
|
8
|
-
|
9
|
-
— Documentation by YARD 0.7.2
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
relpath = '../..';
|
19
|
-
if (relpath != '') relpath += '/';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
25
|
-
|
26
|
-
|
27
|
-
</head>
|
28
|
-
<body>
|
29
|
-
<script type="text/javascript" charset="utf-8">
|
30
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
31
|
-
</script>
|
32
|
-
|
33
|
-
<div id="header">
|
34
|
-
<div id="menu">
|
35
|
-
|
36
|
-
<a href="../../_index.html">Index (F)</a> »
|
37
|
-
<span class='title'><span class='object_link'><a href="../../Uncharted.html" title="Uncharted (module)">Uncharted</a></span></span> » <span class='title'><span class='object_link'><a href="../Territory.html" title="Uncharted::Territory (class)">Territory</a></span></span>
|
38
|
-
»
|
39
|
-
<span class="title">Field</span>
|
40
|
-
|
41
|
-
|
42
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<div id="search">
|
46
|
-
|
47
|
-
<a id="class_list_link" href="#">Class List</a>
|
48
|
-
|
49
|
-
<a id="method_list_link" href="#">Method List</a>
|
50
|
-
|
51
|
-
<a id="file_list_link" href="#">File List</a>
|
52
|
-
|
53
|
-
</div>
|
54
|
-
<div class="clear"></div>
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<iframe id="search_frame"></iframe>
|
58
|
-
|
59
|
-
<div id="content"><h1>Class: Uncharted::Territory::Field
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
</h1>
|
64
|
-
|
65
|
-
<dl class="box">
|
66
|
-
|
67
|
-
<dt class="r1">Inherits:</dt>
|
68
|
-
<dd class="r1">
|
69
|
-
<span class="inheritName">Object</span>
|
70
|
-
|
71
|
-
<ul class="fullTree">
|
72
|
-
<li>Object</li>
|
73
|
-
|
74
|
-
<li class="next">Uncharted::Territory::Field</li>
|
75
|
-
|
76
|
-
</ul>
|
77
|
-
<a href="#" class="inheritanceTree">show all</a>
|
78
|
-
|
79
|
-
</dd>
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
<dt class="r2">Includes:</dt>
|
87
|
-
<dd class="r2">Mongoid::Fields::Serializable</dd>
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
<dt class="r1 last">Defined in:</dt>
|
94
|
-
<dd class="r1 last">lib/uncharted/adapters/mongoid.rb</dd>
|
95
|
-
|
96
|
-
</dl>
|
97
|
-
<div class="clear"></div>
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<h2>
|
108
|
-
Instance Method Summary
|
109
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
110
|
-
</h2>
|
111
|
-
|
112
|
-
<ul class="summary">
|
113
|
-
|
114
|
-
<li class="public ">
|
115
|
-
<span class="summary_signature">
|
116
|
-
|
117
|
-
<a href="#deserialize-instance_method" title="#deserialize (instance method)">- (Object) <strong>deserialize</strong>(code) </a>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
</span>
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
131
|
-
|
132
|
-
</li>
|
133
|
-
|
134
|
-
|
135
|
-
<li class="public ">
|
136
|
-
<span class="summary_signature">
|
137
|
-
|
138
|
-
<a href="#serialize-instance_method" title="#serialize (instance method)">- (Object) <strong>serialize</strong>(territory) </a>
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
</span>
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
152
|
-
|
153
|
-
</li>
|
154
|
-
|
155
|
-
|
156
|
-
</ul>
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
<div id="instance_method_details" class="method_details_list">
|
163
|
-
<h2>Instance Method Details</h2>
|
164
|
-
|
165
|
-
|
166
|
-
<div class="method_details first">
|
167
|
-
<p class="signature first" id="deserialize-instance_method">
|
168
|
-
|
169
|
-
- (<tt>Object</tt>) <strong>deserialize</strong>(code)
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
</p><table class="source_code">
|
174
|
-
<tr>
|
175
|
-
<td>
|
176
|
-
<pre class="lines">
|
177
|
-
|
178
|
-
|
179
|
-
25
|
180
|
-
26
|
181
|
-
27</pre>
|
182
|
-
</td>
|
183
|
-
<td>
|
184
|
-
<pre class="code"><span class="info file"># File 'lib/uncharted/adapters/mongoid.rb', line 25</span>
|
185
|
-
|
186
|
-
<span class='kw'>def</span> <span class='id deserialize'>deserialize</span><span class='lparen'>(</span><span class='id code'>code</span><span class='rparen'>)</span>
|
187
|
-
<span class='id code'>code</span> <span class='op'>&&</span> <span class='const'>Uncharted</span><span class='op'>::</span><span class='const'>Territory</span><span class='period'>.</span><span class='id find'>find</span><span class='lparen'>(</span><span class='id code'>code</span><span class='rparen'>)</span>
|
188
|
-
<span class='kw'>end</span></pre>
|
189
|
-
</td>
|
190
|
-
</tr>
|
191
|
-
</table>
|
192
|
-
</div>
|
193
|
-
|
194
|
-
<div class="method_details ">
|
195
|
-
<p class="signature " id="serialize-instance_method">
|
196
|
-
|
197
|
-
- (<tt>Object</tt>) <strong>serialize</strong>(territory)
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
</p><table class="source_code">
|
202
|
-
<tr>
|
203
|
-
<td>
|
204
|
-
<pre class="lines">
|
205
|
-
|
206
|
-
|
207
|
-
29
|
208
|
-
30
|
209
|
-
31</pre>
|
210
|
-
</td>
|
211
|
-
<td>
|
212
|
-
<pre class="code"><span class="info file"># File 'lib/uncharted/adapters/mongoid.rb', line 29</span>
|
213
|
-
|
214
|
-
<span class='kw'>def</span> <span class='id serialize'>serialize</span><span class='lparen'>(</span><span class='id territory'>territory</span><span class='rparen'>)</span>
|
215
|
-
<span class='id territory'>territory</span> <span class='op'>&&</span> <span class='id territory'>territory</span><span class='period'>.</span><span class='id code'>code</span>
|
216
|
-
<span class='kw'>end</span></pre>
|
217
|
-
</td>
|
218
|
-
</tr>
|
219
|
-
</table>
|
220
|
-
</div>
|
221
|
-
|
222
|
-
</div>
|
223
|
-
|
224
|
-
</div>
|
225
|
-
|
226
|
-
<div id="footer">
|
227
|
-
Generated on Tue Aug 30 16:02:30 2011 by
|
228
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
229
|
-
0.7.2 (ruby-1.9.2).
|
230
|
-
</div>
|
231
|
-
|
232
|
-
</body>
|
233
|
-
</html>
|