magpie 0.8.8 → 0.8.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -0
- data/Rakefile +1 -1
- data/doc/Magpie.html +360 -0
- data/doc/Magpie/Alipay.html +257 -0
- data/doc/Magpie/AlipayModel.html +1770 -0
- data/doc/Magpie/Chinabank.html +257 -0
- data/doc/Magpie/ChinabankModel.html +1030 -0
- data/doc/Magpie/Dung.html +673 -0
- data/doc/Magpie/Goose.html +420 -0
- data/doc/Magpie/Goose/ClassMethods.html +467 -0
- data/doc/Magpie/Mothlog.html +239 -0
- data/doc/Magpie/Mouse.html +363 -0
- data/doc/Magpie/Mouse/ClassMethods.html +225 -0
- data/doc/Magpie/Mouse/MouseError.html +100 -0
- data/doc/Magpie/Rubber.html +160 -0
- data/doc/Magpie/Server.html +253 -0
- data/doc/Magpie/Server/Options.html +261 -0
- data/doc/Magpie/Snake.html +744 -0
- data/doc/Magpie/Tenpay.html +259 -0
- data/doc/Magpie/TenpayModel.html +1542 -0
- data/doc/Magpie/Utils.html +888 -0
- data/doc/_index.html +295 -0
- data/doc/class_list.html +36 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +53 -0
- data/doc/css/style.css +307 -0
- data/doc/file.README.html +239 -0
- data/doc/file_list.html +38 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +239 -0
- data/doc/js/app.js +202 -0
- data/doc/js/full_list.js +149 -0
- data/doc/js/jquery.js +154 -0
- data/doc/method_list.html +1003 -0
- data/doc/top-level-namespace.html +88 -0
- data/lib/apps.rb +1 -1
- data/lib/magpie.rb +1 -1
- data/lib/magpie/server.rb +2 -0
- data/magpie.gemspec +43 -1
- data/static/images/error.gif +0 -0
- data/static/images/q2.gif +0 -0
- data/test/test.log +2182 -0
- metadata +39 -3
@@ -0,0 +1,239 @@
|
|
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 name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>Class: Magpie::Mothlog</title>
|
7
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '..';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<script type="text/javascript" charset="utf-8">
|
20
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
+
</script>
|
22
|
+
|
23
|
+
<div id="header">
|
24
|
+
<div id="menu">
|
25
|
+
|
26
|
+
<a href="../_index.html">Index (M)</a> »
|
27
|
+
<span class='title'><span class='object_link'><a href="../Magpie.html" title="Magpie (module)">Magpie</a></span></span>
|
28
|
+
»
|
29
|
+
<span class="title">Mothlog</span>
|
30
|
+
|
31
|
+
|
32
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="search">
|
36
|
+
<a id="class_list_link" href="#">Class List</a>
|
37
|
+
<a id="method_list_link" href="#">Method List</a>
|
38
|
+
<a id ="file_list_link" href="#">File List</a>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div class="clear"></div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<iframe id="search_frame"></iframe>
|
45
|
+
|
46
|
+
<div id="content"><h1>Class: Magpie::Mothlog
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
</h1>
|
51
|
+
|
52
|
+
<dl class="box">
|
53
|
+
|
54
|
+
<dt class="r1">Inherits:</dt>
|
55
|
+
<dd class="r1">
|
56
|
+
<span class="inheritName">Object</span>
|
57
|
+
|
58
|
+
<ul class="fullTree">
|
59
|
+
<li>Object</li>
|
60
|
+
|
61
|
+
<li class="next">Magpie::Mothlog</li>
|
62
|
+
|
63
|
+
</ul>
|
64
|
+
<a href="#" class="inheritanceTree">show all</a>
|
65
|
+
|
66
|
+
</dd>
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
<dt class="r2 last">Defined in:</dt>
|
77
|
+
<dd class="r2 last">lib/middles/mothlog-bat.rb</dd>
|
78
|
+
|
79
|
+
</dl>
|
80
|
+
<div class="clear"></div>
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
<h2>
|
87
|
+
Instance Method Summary
|
88
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
89
|
+
</h2>
|
90
|
+
|
91
|
+
<ul class="summary">
|
92
|
+
|
93
|
+
<li class="public ">
|
94
|
+
<span class="summary_signature">
|
95
|
+
|
96
|
+
<a href="#call-instance_method" title="#call (instance method)">- (Object) <strong>call</strong>(env) </a>
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
</span>
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
110
|
+
|
111
|
+
</li>
|
112
|
+
|
113
|
+
|
114
|
+
<li class="public ">
|
115
|
+
<span class="summary_signature">
|
116
|
+
|
117
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Mothlog) <strong>initialize</strong>(app) </a>
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
</span>
|
122
|
+
|
123
|
+
<span class="note title constructor">constructor</span>
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
<span class="summary_desc"><div class='inline'><p>
|
133
|
+
A new instance of Mothlog.
|
134
|
+
</p>
|
135
|
+
</div></span>
|
136
|
+
|
137
|
+
</li>
|
138
|
+
|
139
|
+
|
140
|
+
</ul>
|
141
|
+
|
142
|
+
|
143
|
+
<div id="constructor_details" class="method_details_list">
|
144
|
+
<h2>Constructor Details</h2>
|
145
|
+
|
146
|
+
<div class="method_details first">
|
147
|
+
<p class="signature first" id="initialize-instance_method">
|
148
|
+
|
149
|
+
- (<tt><span class='object_link'><a href="" title="Magpie::Mothlog (class)">Mothlog</a></span></tt>) <strong>initialize</strong>(app)
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
</p><div class="docstring">
|
154
|
+
<div class="discussion">
|
155
|
+
<p>
|
156
|
+
A new instance of Mothlog
|
157
|
+
</p>
|
158
|
+
|
159
|
+
|
160
|
+
</div>
|
161
|
+
</div>
|
162
|
+
<div class="tags">
|
163
|
+
|
164
|
+
</div><table class="source_code">
|
165
|
+
<tr>
|
166
|
+
<td>
|
167
|
+
<pre class="lines">
|
168
|
+
|
169
|
+
|
170
|
+
5
|
171
|
+
6
|
172
|
+
7</pre>
|
173
|
+
</td>
|
174
|
+
<td>
|
175
|
+
<pre class="code"><span class="info file"># File 'lib/middles/mothlog-bat.rb', line 5</span>
|
176
|
+
|
177
|
+
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='app identifier id'>app</span><span class='rparen token'>)</span>
|
178
|
+
<span class='@app ivar id'>@app</span> <span class='assign token'>=</span> <span class='app identifier id'>app</span>
|
179
|
+
<span class='end end kw'>end</span>
|
180
|
+
</pre>
|
181
|
+
</td>
|
182
|
+
</tr>
|
183
|
+
</table>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
</div>
|
187
|
+
|
188
|
+
|
189
|
+
<div id="instance_method_details" class="method_details_list">
|
190
|
+
<h2>Instance Method Details</h2>
|
191
|
+
|
192
|
+
|
193
|
+
<div class="method_details first">
|
194
|
+
<p class="signature first" id="call-instance_method">
|
195
|
+
|
196
|
+
- (<tt>Object</tt>) <strong>call</strong>(env)
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
</p><table class="source_code">
|
201
|
+
<tr>
|
202
|
+
<td>
|
203
|
+
<pre class="lines">
|
204
|
+
|
205
|
+
|
206
|
+
9
|
207
|
+
10
|
208
|
+
11
|
209
|
+
12
|
210
|
+
13
|
211
|
+
14</pre>
|
212
|
+
</td>
|
213
|
+
<td>
|
214
|
+
<pre class="code"><span class="info file"># File 'lib/middles/mothlog-bat.rb', line 9</span>
|
215
|
+
|
216
|
+
<span class='def def kw'>def</span> <span class='call identifier id'>call</span><span class='lparen token'>(</span><span class='env identifier id'>env</span><span class='rparen token'>)</span>
|
217
|
+
<span class='status identifier id'>status</span><span class='comma token'>,</span> <span class='header identifier id'>header</span><span class='comma token'>,</span> <span class='body identifier id'>body</span> <span class='assign token'>=</span> <span class='@app ivar id'>@app</span><span class='dot token'>.</span><span class='call identifier id'>call</span><span class='lparen token'>(</span><span class='env identifier id'>env</span><span class='rparen token'>)</span>
|
218
|
+
<span class='log identifier id'>log</span><span class='lparen token'>(</span><span class='env identifier id'>env</span><span class='comma token'>,</span> <span class='Logger constant id'>Logger</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='$stderr gvar id'>$stderr</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
|
219
|
+
<span class='comment val'>#log(env, @logger) if @logger</span>
|
220
|
+
<span class='lbrack token'>[</span><span class='status identifier id'>status</span><span class='comma token'>,</span> <span class='header identifier id'>header</span><span class='comma token'>,</span> <span class='body identifier id'>body</span><span class='rbrack token'>]</span>
|
221
|
+
<span class='end end kw'>end</span>
|
222
|
+
</pre>
|
223
|
+
</td>
|
224
|
+
</tr>
|
225
|
+
</table>
|
226
|
+
</div>
|
227
|
+
|
228
|
+
</div>
|
229
|
+
|
230
|
+
</div>
|
231
|
+
|
232
|
+
<div id="footer">
|
233
|
+
Generated on Mon Nov 8 16:21:44 2010 by
|
234
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
235
|
+
0.6.1 (ruby-1.8.7).
|
236
|
+
</div>
|
237
|
+
|
238
|
+
</body>
|
239
|
+
</html>
|
@@ -0,0 +1,363 @@
|
|
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 name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>Module: Magpie::Mouse</title>
|
7
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '..';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<script type="text/javascript" charset="utf-8">
|
20
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
+
</script>
|
22
|
+
|
23
|
+
<div id="header">
|
24
|
+
<div id="menu">
|
25
|
+
|
26
|
+
<a href="../_index.html">Index (M)</a> »
|
27
|
+
<span class='title'><span class='object_link'><a href="../Magpie.html" title="Magpie (module)">Magpie</a></span></span>
|
28
|
+
»
|
29
|
+
<span class="title">Mouse</span>
|
30
|
+
|
31
|
+
|
32
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="search">
|
36
|
+
<a id="class_list_link" href="#">Class List</a>
|
37
|
+
<a id="method_list_link" href="#">Method List</a>
|
38
|
+
<a id ="file_list_link" href="#">File List</a>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div class="clear"></div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<iframe id="search_frame"></iframe>
|
45
|
+
|
46
|
+
<div id="content"><h1>Module: Magpie::Mouse
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
</h1>
|
51
|
+
|
52
|
+
<dl class="box">
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
<dt class="r1">Included in:</dt>
|
61
|
+
<dd class="r1"><span class='object_link'><a href="AlipayModel.html" title="Magpie::AlipayModel (class)">AlipayModel</a></span>, <span class='object_link'><a href="ChinabankModel.html" title="Magpie::ChinabankModel (class)">ChinabankModel</a></span>, <span class='object_link'><a href="TenpayModel.html" title="Magpie::TenpayModel (class)">TenpayModel</a></span></dd>
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
<dt class="r2 last">Defined in:</dt>
|
66
|
+
<dd class="r2 last">lib/magpie/mouse.rb</dd>
|
67
|
+
|
68
|
+
</dl>
|
69
|
+
<div class="clear"></div>
|
70
|
+
|
71
|
+
<h2>Overview</h2><div class="docstring">
|
72
|
+
<div class="discussion">
|
73
|
+
<p>
|
74
|
+
获取一些持久化信息,主要是商户账号
|
75
|
+
</p>
|
76
|
+
|
77
|
+
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
<div class="tags">
|
81
|
+
|
82
|
+
</div><h2>Defined Under Namespace</h2>
|
83
|
+
<p class="children">
|
84
|
+
|
85
|
+
|
86
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Mouse/ClassMethods.html" title="Magpie::Mouse::ClassMethods (module)">ClassMethods</a></span>
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Mouse/MouseError.html" title="Magpie::Mouse::MouseError (class)">MouseError</a></span>
|
91
|
+
|
92
|
+
|
93
|
+
</p>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<h2>
|
99
|
+
Class Method Summary
|
100
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
101
|
+
</h2>
|
102
|
+
|
103
|
+
<ul class="summary">
|
104
|
+
|
105
|
+
<li class="public ">
|
106
|
+
<span class="summary_signature">
|
107
|
+
|
108
|
+
<a href="#included-class_method" title="included (class method)">+ (Object) <strong>included</strong>(m) </a>
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
</span>
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
122
|
+
|
123
|
+
</li>
|
124
|
+
|
125
|
+
|
126
|
+
</ul>
|
127
|
+
|
128
|
+
<h2>
|
129
|
+
Instance Method Summary
|
130
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
131
|
+
</h2>
|
132
|
+
|
133
|
+
<ul class="summary">
|
134
|
+
|
135
|
+
<li class="public ">
|
136
|
+
<span class="summary_signature">
|
137
|
+
|
138
|
+
<a href="#account-instance_method" title="#account (instance method)">- (Object) <strong>account</strong> </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
|
+
<li class="public ">
|
157
|
+
<span class="summary_signature">
|
158
|
+
|
159
|
+
<a href="#key-instance_method" title="#key (instance method)">- (Object) <strong>key</strong> </a>
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
</span>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
173
|
+
|
174
|
+
</li>
|
175
|
+
|
176
|
+
|
177
|
+
<li class="public ">
|
178
|
+
<span class="summary_signature">
|
179
|
+
|
180
|
+
<a href="#missing_partner%3F-instance_method" title="#missing_partner? (instance method)">- (Boolean) <strong>missing_partner?</strong> </a>
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
</span>
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
194
|
+
|
195
|
+
</li>
|
196
|
+
|
197
|
+
|
198
|
+
</ul>
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
<div id="class_method_details" class="method_details_list">
|
204
|
+
<h2>Class Method Details</h2>
|
205
|
+
|
206
|
+
|
207
|
+
<div class="method_details first">
|
208
|
+
<p class="signature first" id="included-class_method">
|
209
|
+
|
210
|
+
+ (<tt>Object</tt>) <strong>included</strong>(m)
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
</p><table class="source_code">
|
215
|
+
<tr>
|
216
|
+
<td>
|
217
|
+
<pre class="lines">
|
218
|
+
|
219
|
+
|
220
|
+
10
|
221
|
+
11
|
222
|
+
12</pre>
|
223
|
+
</td>
|
224
|
+
<td>
|
225
|
+
<pre class="code"><span class="info file"># File 'lib/magpie/mouse.rb', line 10</span>
|
226
|
+
|
227
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='included identifier id'>included</span><span class='lparen token'>(</span><span class='m identifier id'>m</span><span class='rparen token'>)</span>
|
228
|
+
<span class='m identifier id'>m</span><span class='dot token'>.</span><span class='extend identifier id'>extend</span> <span class='ClassMethods constant id'>ClassMethods</span>
|
229
|
+
<span class='end end kw'>end</span>
|
230
|
+
</pre>
|
231
|
+
</td>
|
232
|
+
</tr>
|
233
|
+
</table>
|
234
|
+
</div>
|
235
|
+
|
236
|
+
</div>
|
237
|
+
|
238
|
+
<div id="instance_method_details" class="method_details_list">
|
239
|
+
<h2>Instance Method Details</h2>
|
240
|
+
|
241
|
+
|
242
|
+
<div class="method_details first">
|
243
|
+
<p class="signature first" id="account-instance_method">
|
244
|
+
|
245
|
+
- (<tt>Object</tt>) <strong>account</strong>
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
</p><table class="source_code">
|
250
|
+
<tr>
|
251
|
+
<td>
|
252
|
+
<pre class="lines">
|
253
|
+
|
254
|
+
|
255
|
+
29
|
256
|
+
30
|
257
|
+
31
|
258
|
+
32</pre>
|
259
|
+
</td>
|
260
|
+
<td>
|
261
|
+
<pre class="code"><span class="info file"># File 'lib/magpie/mouse.rb', line 29</span>
|
262
|
+
|
263
|
+
<span class='def def kw'>def</span> <span class='account identifier id'>account</span>
|
264
|
+
<span class='@account ivar id'>@account</span> <span class='opasgn op'>||=</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='class identifier id'>class</span><span class='dot token'>.</span><span class='accounts identifier id'>accounts</span><span class='dot token'>.</span><span class='assoc identifier id'>assoc</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='partner identifier id'>partner</span>
|
265
|
+
<span class='@account ivar id'>@account</span> <span class='opasgn op'>||=</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
|
266
|
+
<span class='end end kw'>end</span>
|
267
|
+
</pre>
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
</table>
|
271
|
+
</div>
|
272
|
+
|
273
|
+
<div class="method_details ">
|
274
|
+
<p class="signature " id="key-instance_method">
|
275
|
+
|
276
|
+
- (<tt>Object</tt>) <strong>key</strong>
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
</p><table class="source_code">
|
281
|
+
<tr>
|
282
|
+
<td>
|
283
|
+
<pre class="lines">
|
284
|
+
|
285
|
+
|
286
|
+
34
|
287
|
+
35
|
288
|
+
36</pre>
|
289
|
+
</td>
|
290
|
+
<td>
|
291
|
+
<pre class="code"><span class="info file"># File 'lib/magpie/mouse.rb', line 34</span>
|
292
|
+
|
293
|
+
<span class='def def kw'>def</span> <span class='key identifier id'>key</span>
|
294
|
+
<span class='@key ivar id'>@key</span> <span class='opasgn op'>||=</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='account identifier id'>account</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span>
|
295
|
+
<span class='end end kw'>end</span>
|
296
|
+
</pre>
|
297
|
+
</td>
|
298
|
+
</tr>
|
299
|
+
</table>
|
300
|
+
</div>
|
301
|
+
|
302
|
+
<div class="method_details ">
|
303
|
+
<p class="signature " id="missing_partner?-instance_method">
|
304
|
+
|
305
|
+
- (<tt>Boolean</tt>) <strong>missing_partner?</strong>
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
</p><div class="docstring">
|
310
|
+
<div class="discussion">
|
311
|
+
|
312
|
+
|
313
|
+
</div>
|
314
|
+
</div>
|
315
|
+
<div class="tags">
|
316
|
+
<h3>Returns:</h3>
|
317
|
+
<ul class="return">
|
318
|
+
|
319
|
+
<li>
|
320
|
+
|
321
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
</li>
|
327
|
+
|
328
|
+
</ul>
|
329
|
+
|
330
|
+
</div><table class="source_code">
|
331
|
+
<tr>
|
332
|
+
<td>
|
333
|
+
<pre class="lines">
|
334
|
+
|
335
|
+
|
336
|
+
38
|
337
|
+
39
|
338
|
+
40</pre>
|
339
|
+
</td>
|
340
|
+
<td>
|
341
|
+
<pre class="code"><span class="info file"># File 'lib/magpie/mouse.rb', line 38</span>
|
342
|
+
|
343
|
+
<span class='def def kw'>def</span> <span class='missing_partner? fid id'>missing_partner?</span>
|
344
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='account identifier id'>account</span> <span class='eq op'>==</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span> <span class='question op'>?</span> <span class='true true kw'>true</span> <span class='colon op'>:</span> <span class='false false kw'>false</span>
|
345
|
+
<span class='end end kw'>end</span>
|
346
|
+
</pre>
|
347
|
+
</td>
|
348
|
+
</tr>
|
349
|
+
</table>
|
350
|
+
</div>
|
351
|
+
|
352
|
+
</div>
|
353
|
+
|
354
|
+
</div>
|
355
|
+
|
356
|
+
<div id="footer">
|
357
|
+
Generated on Mon Nov 8 16:21:43 2010 by
|
358
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
359
|
+
0.6.1 (ruby-1.8.7).
|
360
|
+
</div>
|
361
|
+
|
362
|
+
</body>
|
363
|
+
</html>
|