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,225 @@
|
|
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::ClassMethods</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 (C)</a> »
|
27
|
+
<span class='title'><span class='object_link'><a href="../../Magpie.html" title="Magpie (module)">Magpie</a></span></span> » <span class='title'><span class='object_link'><a href="../Mouse.html" title="Magpie::Mouse (module)">Mouse</a></span></span>
|
28
|
+
»
|
29
|
+
<span class="title">ClassMethods</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::ClassMethods
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
</h1>
|
51
|
+
|
52
|
+
<dl class="box">
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<dt class="r1 last">Defined in:</dt>
|
62
|
+
<dd class="r1 last">lib/magpie/mouse.rb</dd>
|
63
|
+
|
64
|
+
</dl>
|
65
|
+
<div class="clear"></div>
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
<h2>
|
72
|
+
Instance Method Summary
|
73
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
74
|
+
</h2>
|
75
|
+
|
76
|
+
<ul class="summary">
|
77
|
+
|
78
|
+
<li class="public ">
|
79
|
+
<span class="summary_signature">
|
80
|
+
|
81
|
+
<a href="#accounts-instance_method" title="#accounts (instance method)">- (Object) <strong>accounts</strong> </a>
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
</span>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
95
|
+
|
96
|
+
</li>
|
97
|
+
|
98
|
+
|
99
|
+
<li class="public ">
|
100
|
+
<span class="summary_signature">
|
101
|
+
|
102
|
+
<a href="#set_accounts_kind-instance_method" title="#set_accounts_kind (instance method)">- (Object) <strong>set_accounts_kind</strong>(kind, options = { }) </a>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
</span>
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
116
|
+
|
117
|
+
</li>
|
118
|
+
|
119
|
+
|
120
|
+
</ul>
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
<div id="instance_method_details" class="method_details_list">
|
126
|
+
<h2>Instance Method Details</h2>
|
127
|
+
|
128
|
+
|
129
|
+
<div class="method_details first">
|
130
|
+
<p class="signature first" id="accounts-instance_method">
|
131
|
+
|
132
|
+
- (<tt>Object</tt>) <strong>accounts</strong>
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
</p><div class="docstring">
|
137
|
+
<div class="discussion">
|
138
|
+
|
139
|
+
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
<div class="tags">
|
143
|
+
<h3>Raises:</h3>
|
144
|
+
<ul class="raise">
|
145
|
+
|
146
|
+
<li>
|
147
|
+
|
148
|
+
<span class='type'>(<tt><span class='object_link'><a href="MouseError.html" title="Magpie::Mouse::MouseError (class)">MouseError</a></span></tt>)</span>
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
</li>
|
154
|
+
|
155
|
+
</ul>
|
156
|
+
|
157
|
+
</div><table class="source_code">
|
158
|
+
<tr>
|
159
|
+
<td>
|
160
|
+
<pre class="lines">
|
161
|
+
|
162
|
+
|
163
|
+
21
|
164
|
+
22
|
165
|
+
23
|
166
|
+
24
|
167
|
+
25</pre>
|
168
|
+
</td>
|
169
|
+
<td>
|
170
|
+
<pre class="code"><span class="info file"># File 'lib/magpie/mouse.rb', line 21</span>
|
171
|
+
|
172
|
+
<span class='def def kw'>def</span> <span class='accounts identifier id'>accounts</span>
|
173
|
+
<span class='@accounts ivar id'>@accounts</span> <span class='opasgn op'>||=</span> <span class='@accounts_env ivar id'>@accounts_env</span> <span class='eq op'>==</span> <span class='string val'>'test'</span> <span class='question op'>?</span> <span class='YAML constant id'>YAML</span><span class='dot token'>.</span><span class='load_file identifier id'>load_file</span><span class='lparen token'>(</span><span class='string val'>'test/partner.yml'</span><span class='rparen token'>)</span><span class='lbrack token'>[</span><span class='@kind ivar id'>@kind</span><span class='rbrack token'>]</span> <span class='colon op'>:</span> <span class='Magpie constant id'>Magpie</span><span class='dot token'>.</span><span class='yml_db identifier id'>yml_db</span><span class='lbrack token'>[</span><span class='@kind ivar id'>@kind</span><span class='rbrack token'>]</span>
|
174
|
+
<span class='raise identifier id'>raise</span> <span class='MouseError constant id'>MouseError</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='dstring node'>"#{@kind}商号配置出错,请检查#{@kind}的商号是否配置正确"</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@accounts ivar id'>@accounts</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
175
|
+
<span class='@accounts ivar id'>@accounts</span>
|
176
|
+
<span class='end end kw'>end</span>
|
177
|
+
</pre>
|
178
|
+
</td>
|
179
|
+
</tr>
|
180
|
+
</table>
|
181
|
+
</div>
|
182
|
+
|
183
|
+
<div class="method_details ">
|
184
|
+
<p class="signature " id="set_accounts_kind-instance_method">
|
185
|
+
|
186
|
+
- (<tt>Object</tt>) <strong>set_accounts_kind</strong>(kind, options = { })
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
</p><table class="source_code">
|
191
|
+
<tr>
|
192
|
+
<td>
|
193
|
+
<pre class="lines">
|
194
|
+
|
195
|
+
|
196
|
+
16
|
197
|
+
17
|
198
|
+
18
|
199
|
+
19</pre>
|
200
|
+
</td>
|
201
|
+
<td>
|
202
|
+
<pre class="code"><span class="info file"># File 'lib/magpie/mouse.rb', line 16</span>
|
203
|
+
|
204
|
+
<span class='def def kw'>def</span> <span class='set_accounts_kind identifier id'>set_accounts_kind</span><span class='lparen token'>(</span><span class='kind identifier id'>kind</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span> <span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
205
|
+
<span class='@kind ivar id'>@kind</span> <span class='assign token'>=</span> <span class='kind identifier id'>kind</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span>
|
206
|
+
<span class='@accounts_env ivar id'>@accounts_env</span> <span class='assign token'>=</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:env</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='string val'>"development"</span>
|
207
|
+
<span class='end end kw'>end</span>
|
208
|
+
</pre>
|
209
|
+
</td>
|
210
|
+
</tr>
|
211
|
+
</table>
|
212
|
+
</div>
|
213
|
+
|
214
|
+
</div>
|
215
|
+
|
216
|
+
</div>
|
217
|
+
|
218
|
+
<div id="footer">
|
219
|
+
Generated on Mon Nov 8 16:21:44 2010 by
|
220
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
221
|
+
0.6.1 (ruby-1.8.7).
|
222
|
+
</div>
|
223
|
+
|
224
|
+
</body>
|
225
|
+
</html>
|
@@ -0,0 +1,100 @@
|
|
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>Exception: Magpie::Mouse::MouseError</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> » <span class='title'><span class='object_link'><a href="../Mouse.html" title="Magpie::Mouse (module)">Mouse</a></span></span>
|
28
|
+
»
|
29
|
+
<span class="title">MouseError</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>Exception: Magpie::Mouse::MouseError
|
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">StandardError</span>
|
57
|
+
|
58
|
+
<ul class="fullTree">
|
59
|
+
<li>Object</li>
|
60
|
+
|
61
|
+
<li class="next">StandardError</li>
|
62
|
+
|
63
|
+
<li class="next">Magpie::Mouse::MouseError</li>
|
64
|
+
|
65
|
+
</ul>
|
66
|
+
<a href="#" class="inheritanceTree">show all</a>
|
67
|
+
|
68
|
+
</dd>
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
<dt class="r2 last">Defined in:</dt>
|
79
|
+
<dd class="r2 last">lib/magpie/mouse.rb</dd>
|
80
|
+
|
81
|
+
</dl>
|
82
|
+
<div class="clear"></div>
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<div id="footer">
|
94
|
+
Generated on Mon Nov 8 16:21:44 2010 by
|
95
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
96
|
+
0.6.1 (ruby-1.8.7).
|
97
|
+
</div>
|
98
|
+
|
99
|
+
</body>
|
100
|
+
</html>
|
@@ -0,0 +1,160 @@
|
|
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::Rubber</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 (R)</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">Rubber</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::Rubber
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
</h1>
|
51
|
+
|
52
|
+
<dl class="box">
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<dt class="r1 last">Defined in:</dt>
|
62
|
+
<dd class="r1 last">lib/magpie/rubber.rb</dd>
|
63
|
+
|
64
|
+
</dl>
|
65
|
+
<div class="clear"></div>
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
<h2>
|
72
|
+
Class Method Summary
|
73
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
74
|
+
</h2>
|
75
|
+
|
76
|
+
<ul class="summary">
|
77
|
+
|
78
|
+
<li class="public ">
|
79
|
+
<span class="summary_signature">
|
80
|
+
|
81
|
+
<a href="#try-class_method" title="try (class method)">+ (Object) <strong>try</strong>(times = 1, options = { }, &block) </a>
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
</span>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
95
|
+
|
96
|
+
</li>
|
97
|
+
|
98
|
+
|
99
|
+
</ul>
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
<div id="class_method_details" class="method_details_list">
|
105
|
+
<h2>Class Method Details</h2>
|
106
|
+
|
107
|
+
|
108
|
+
<div class="method_details first">
|
109
|
+
<p class="signature first" id="try-class_method">
|
110
|
+
|
111
|
+
+ (<tt>Object</tt>) <strong>try</strong>(times = 1, options = { }, &block)
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
</p><table class="source_code">
|
116
|
+
<tr>
|
117
|
+
<td>
|
118
|
+
<pre class="lines">
|
119
|
+
|
120
|
+
|
121
|
+
4
|
122
|
+
5
|
123
|
+
6
|
124
|
+
7
|
125
|
+
8
|
126
|
+
9
|
127
|
+
10
|
128
|
+
11
|
129
|
+
12</pre>
|
130
|
+
</td>
|
131
|
+
<td>
|
132
|
+
<pre class="code"><span class="info file"># File 'lib/magpie/rubber.rb', line 4</span>
|
133
|
+
|
134
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='try identifier id'>try</span><span class='lparen token'>(</span><span class='times identifier id'>times</span> <span class='assign token'>=</span> <span class='integer val'>1</span><span class='comma token'>,</span> <span class='options identifier id'>options</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span> <span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='bitand op'>&</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
|
135
|
+
<span class='val identifier id'>val</span> <span class='assign token'>=</span> <span class='yield yield kw'>yield</span> <span class='times identifier id'>times</span>
|
136
|
+
<span class='rescue rescue kw'>rescue</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:on</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='Exception constant id'>Exception</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='e identifier id'>e</span>
|
137
|
+
<span class='Magpie constant id'>Magpie</span><span class='dot token'>.</span><span class='logger identifier id'>logger</span><span class='dot token'>.</span><span class='info identifier id'>info</span><span class='lparen token'>(</span><span class='dstring node'>"#{Time.now}:#{__FILE__}:#{__LINE__}}:#{e.backtrace[0..8].join("\n")}"</span><span class='rparen token'>)</span>
|
138
|
+
<span class='retry retry kw'>retry</span> <span class='if if_mod kw'>if</span> <span class='lparen token'>(</span><span class='times identifier id'>times</span> <span class='opasgn op'>-=</span> <span class='integer val'>1</span><span class='rparen token'>)</span> <span class='gt op'>></span> <span class='integer val'>0</span>
|
139
|
+
<span class='raise identifier id'>raise</span> <span class='e identifier id'>e</span>
|
140
|
+
<span class='else else kw'>else</span>
|
141
|
+
<span class='val identifier id'>val</span>
|
142
|
+
<span class='end end kw'>end</span>
|
143
|
+
</pre>
|
144
|
+
</td>
|
145
|
+
</tr>
|
146
|
+
</table>
|
147
|
+
</div>
|
148
|
+
|
149
|
+
</div>
|
150
|
+
|
151
|
+
</div>
|
152
|
+
|
153
|
+
<div id="footer">
|
154
|
+
Generated on Mon Nov 8 16:21:45 2010 by
|
155
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
156
|
+
0.6.1 (ruby-1.8.7).
|
157
|
+
</div>
|
158
|
+
|
159
|
+
</body>
|
160
|
+
</html>
|