tainted_love 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/Gemfile.lock +1 -1
- data/README.md +8 -0
- data/example/Gemfile.lock +1 -1
- data/example/test/test_helper.rb +3 -1
- data/lib/tainted_love/replacer/replace_action_view.rb +1 -1
- data/lib/tainted_love/reporter/file_reporter.rb +9 -5
- data/lib/tainted_love/reporter/stdout_reporter.rb +29 -9
- data/lib/tainted_love/validator/railties_yaml_load.rb +16 -0
- data/lib/tainted_love/version.rb +1 -1
- data/tools/web/.gitignore +1 -0
- data/tools/web/Gemfile +3 -0
- data/tools/web/application.rb +39 -0
- data/tools/web/public/application.css +79 -0
- data/tools/web/public/application.js +0 -0
- data/tools/web/views/index.erb +57 -0
- data/tools/web/views/layout.erb +25 -0
- data/tools/web/views/line.erb +11 -0
- data/tools/web/views/warning.erb +3 -0
- data/tools/web/views/warnings.erb +3 -0
- metadata +13 -53
- data/docs/TaintedLove.html +0 -482
- data/docs/TaintedLove/Configuration.html +0 -499
- data/docs/TaintedLove/Replacer.html +0 -129
- data/docs/TaintedLove/Replacer/ActionViewHelpersMod.html +0 -230
- data/docs/TaintedLove/Replacer/Base.html +0 -320
- data/docs/TaintedLove/Replacer/HelperMod.html +0 -226
- data/docs/TaintedLove/Replacer/HelpersMod.html +0 -230
- data/docs/TaintedLove/Replacer/MarshalMod.html +0 -178
- data/docs/TaintedLove/Replacer/ObjectMod.html +0 -282
- data/docs/TaintedLove/Replacer/ReplaceActionController.html +0 -329
- data/docs/TaintedLove/Replacer/ReplaceActionView.html +0 -317
- data/docs/TaintedLove/Replacer/ReplaceActiveRecord.html +0 -341
- data/docs/TaintedLove/Replacer/ReplaceDigest.html +0 -369
- data/docs/TaintedLove/Replacer/ReplaceFile.html +0 -245
- data/docs/TaintedLove/Replacer/ReplaceKernel.html +0 -211
- data/docs/TaintedLove/Replacer/ReplaceMarshal.html +0 -219
- data/docs/TaintedLove/Replacer/ReplaceObject.html +0 -231
- data/docs/TaintedLove/Replacer/ReplaceRailsUserInput.html +0 -374
- data/docs/TaintedLove/Replacer/ReplaceSprokets.html +0 -297
- data/docs/TaintedLove/Replacer/SprocketsHelperMod.html +0 -226
- data/docs/TaintedLove/Reporter.html +0 -117
- data/docs/TaintedLove/Reporter/Base.html +0 -466
- data/docs/TaintedLove/Reporter/RackReporter.html +0 -309
- data/docs/TaintedLove/Reporter/SinatraReporter.html +0 -402
- data/docs/TaintedLove/Reporter/SinatraReporter/App.html +0 -210
- data/docs/TaintedLove/Reporter/StdoutReporter.html +0 -305
- data/docs/TaintedLove/SinatraReporter.html +0 -387
- data/docs/TaintedLove/SinatraReporter/App.html +0 -210
- data/docs/TaintedLove/StackTrace.html +0 -650
- data/docs/TaintedLove/Utils.html +0 -550
- data/docs/TaintedLove/Validator.html +0 -129
- data/docs/TaintedLove/Validator/ActionViewObjectSend.html +0 -233
- data/docs/TaintedLove/Validator/Base.html +0 -200
- data/docs/TaintedLove/Validator/ErbEval.html +0 -229
- data/docs/TaintedLove/Validator/RedisStoreSerialization.html +0 -238
- data/docs/TaintedLove/Validator/SproketsMarshal.html +0 -233
- data/docs/TaintedLove/Warning.html +0 -665
- data/docs/_index.html +0 -371
- data/docs/class_list.html +0 -51
- data/docs/css/common.css +0 -1
- data/docs/css/full_list.css +0 -58
- data/docs/css/style.css +0 -496
- data/docs/file.README.html +0 -134
- data/docs/file_list.html +0 -56
- data/docs/frames.html +0 -17
- data/docs/index.html +0 -134
- data/docs/js/app.js +0 -292
- data/docs/js/full_list.js +0 -216
- data/docs/js/jquery.js +0 -4
- data/docs/method_list.html +0 -523
- data/docs/top-level-namespace.html +0 -110
@@ -1,387 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Class: TaintedLove::SinatraReporter
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.18
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
pathId = "TaintedLove::SinatraReporter";
|
19
|
-
relpath = '../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../_index.html">Index (S)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../TaintedLove.html" title="TaintedLove (module)">TaintedLove</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">SinatraReporter</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Class: TaintedLove::SinatraReporter
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
<dl>
|
70
|
-
<dt>Inherits:</dt>
|
71
|
-
<dd>
|
72
|
-
<span class="inheritName">Base</span>
|
73
|
-
|
74
|
-
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
76
|
-
|
77
|
-
<li class="next">Base</li>
|
78
|
-
|
79
|
-
<li class="next">TaintedLove::SinatraReporter</li>
|
80
|
-
|
81
|
-
</ul>
|
82
|
-
<a href="#" class="inheritanceTree">show all</a>
|
83
|
-
|
84
|
-
</dd>
|
85
|
-
</dl>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
<dl>
|
98
|
-
<dt>Defined in:</dt>
|
99
|
-
<dd>lib/tainted_love/reporter/sinatra_reporter.rb</dd>
|
100
|
-
</dl>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
<h2>Overview</h2><div class="docstring">
|
105
|
-
<div class="discussion">
|
106
|
-
|
107
|
-
<p>Starts a Sinatra web server to show the warnings</p>
|
108
|
-
|
109
|
-
|
110
|
-
</div>
|
111
|
-
</div>
|
112
|
-
<div class="tags">
|
113
|
-
|
114
|
-
|
115
|
-
</div><h2>Defined Under Namespace</h2>
|
116
|
-
<p class="children">
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="SinatraReporter/App.html" title="TaintedLove::SinatraReporter::App (class)">App</a></span>
|
122
|
-
|
123
|
-
|
124
|
-
</p>
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
130
|
-
<ul class="summary">
|
131
|
-
|
132
|
-
<li class="public ">
|
133
|
-
<span class="summary_signature">
|
134
|
-
|
135
|
-
<a href="#app-instance_method" title="#app (instance method)">#<strong>app</strong> ⇒ Object </a>
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
</span>
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
<span class="note title readonly">readonly</span>
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
<span class="summary_desc"><div class='inline'>
|
155
|
-
<p>Returns the value of attribute app.</p>
|
156
|
-
</div></span>
|
157
|
-
|
158
|
-
</li>
|
159
|
-
|
160
|
-
|
161
|
-
<li class="public ">
|
162
|
-
<span class="summary_signature">
|
163
|
-
|
164
|
-
<a href="#thread-instance_method" title="#thread (instance method)">#<strong>thread</strong> ⇒ Object </a>
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
</span>
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
<span class="note title readonly">readonly</span>
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
<span class="summary_desc"><div class='inline'>
|
184
|
-
<p>Returns the value of attribute thread.</p>
|
185
|
-
</div></span>
|
186
|
-
|
187
|
-
</li>
|
188
|
-
|
189
|
-
|
190
|
-
</ul>
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
<h2>
|
197
|
-
Instance Method Summary
|
198
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
199
|
-
</h2>
|
200
|
-
|
201
|
-
<ul class="summary">
|
202
|
-
|
203
|
-
<li class="public ">
|
204
|
-
<span class="summary_signature">
|
205
|
-
|
206
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ SinatraReporter </a>
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
</span>
|
211
|
-
|
212
|
-
|
213
|
-
<span class="note title constructor">constructor</span>
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
<span class="summary_desc"><div class='inline'>
|
223
|
-
<p>A new instance of SinatraReporter.</p>
|
224
|
-
</div></span>
|
225
|
-
|
226
|
-
</li>
|
227
|
-
|
228
|
-
|
229
|
-
</ul>
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
<div id="constructor_details" class="method_details_list">
|
234
|
-
<h2>Constructor Details</h2>
|
235
|
-
|
236
|
-
<div class="method_details first">
|
237
|
-
<h3 class="signature first" id="initialize-instance_method">
|
238
|
-
|
239
|
-
#<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="TaintedLove::SinatraReporter (class)">SinatraReporter</a></span></tt>
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
</h3><div class="docstring">
|
246
|
-
<div class="discussion">
|
247
|
-
|
248
|
-
<p>Returns a new instance of SinatraReporter</p>
|
249
|
-
|
250
|
-
|
251
|
-
</div>
|
252
|
-
</div>
|
253
|
-
<div class="tags">
|
254
|
-
|
255
|
-
|
256
|
-
</div><table class="source_code">
|
257
|
-
<tr>
|
258
|
-
<td>
|
259
|
-
<pre class="lines">
|
260
|
-
|
261
|
-
|
262
|
-
10
|
263
|
-
11
|
264
|
-
12
|
265
|
-
13
|
266
|
-
14
|
267
|
-
15</pre>
|
268
|
-
</td>
|
269
|
-
<td>
|
270
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/reporter/sinatra_reporter.rb', line 10</span>
|
271
|
-
|
272
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
273
|
-
<span class='ivar'>@app</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="SinatraReporter/App.html" title="TaintedLove::SinatraReporter::App (class)">App</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="SinatraReporter/App.html#initialize-instance_method" title="TaintedLove::SinatraReporter::App#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
|
274
|
-
<span class='ivar'>@thread</span> <span class='op'>=</span> <span class='const'>Thread</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>do</span>
|
275
|
-
<span class='ivar'>@app</span><span class='period'>.</span><span class='id identifier rubyid_run!'>run!</span>
|
276
|
-
<span class='kw'>end</span>
|
277
|
-
<span class='kw'>end</span></pre>
|
278
|
-
</td>
|
279
|
-
</tr>
|
280
|
-
</table>
|
281
|
-
</div>
|
282
|
-
|
283
|
-
</div>
|
284
|
-
|
285
|
-
<div id="instance_attr_details" class="attr_details">
|
286
|
-
<h2>Instance Attribute Details</h2>
|
287
|
-
|
288
|
-
|
289
|
-
<span id=""></span>
|
290
|
-
<div class="method_details first">
|
291
|
-
<h3 class="signature first" id="app-instance_method">
|
292
|
-
|
293
|
-
#<strong>app</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
</h3><div class="docstring">
|
300
|
-
<div class="discussion">
|
301
|
-
|
302
|
-
<p>Returns the value of attribute app</p>
|
303
|
-
|
304
|
-
|
305
|
-
</div>
|
306
|
-
</div>
|
307
|
-
<div class="tags">
|
308
|
-
|
309
|
-
|
310
|
-
</div><table class="source_code">
|
311
|
-
<tr>
|
312
|
-
<td>
|
313
|
-
<pre class="lines">
|
314
|
-
|
315
|
-
|
316
|
-
8
|
317
|
-
9
|
318
|
-
10</pre>
|
319
|
-
</td>
|
320
|
-
<td>
|
321
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/reporter/sinatra_reporter.rb', line 8</span>
|
322
|
-
|
323
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_app'>app</span>
|
324
|
-
<span class='ivar'>@app</span>
|
325
|
-
<span class='kw'>end</span></pre>
|
326
|
-
</td>
|
327
|
-
</tr>
|
328
|
-
</table>
|
329
|
-
</div>
|
330
|
-
|
331
|
-
|
332
|
-
<span id=""></span>
|
333
|
-
<div class="method_details ">
|
334
|
-
<h3 class="signature " id="thread-instance_method">
|
335
|
-
|
336
|
-
#<strong>thread</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
</h3><div class="docstring">
|
343
|
-
<div class="discussion">
|
344
|
-
|
345
|
-
<p>Returns the value of attribute thread</p>
|
346
|
-
|
347
|
-
|
348
|
-
</div>
|
349
|
-
</div>
|
350
|
-
<div class="tags">
|
351
|
-
|
352
|
-
|
353
|
-
</div><table class="source_code">
|
354
|
-
<tr>
|
355
|
-
<td>
|
356
|
-
<pre class="lines">
|
357
|
-
|
358
|
-
|
359
|
-
8
|
360
|
-
9
|
361
|
-
10</pre>
|
362
|
-
</td>
|
363
|
-
<td>
|
364
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/reporter/sinatra_reporter.rb', line 8</span>
|
365
|
-
|
366
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_thread'>thread</span>
|
367
|
-
<span class='ivar'>@thread</span>
|
368
|
-
<span class='kw'>end</span></pre>
|
369
|
-
</td>
|
370
|
-
</tr>
|
371
|
-
</table>
|
372
|
-
</div>
|
373
|
-
|
374
|
-
</div>
|
375
|
-
|
376
|
-
|
377
|
-
</div>
|
378
|
-
|
379
|
-
<div id="footer">
|
380
|
-
Generated on Mon Apr 1 14:02:23 2019 by
|
381
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
382
|
-
0.9.18 (ruby-2.5.3).
|
383
|
-
</div>
|
384
|
-
|
385
|
-
</div>
|
386
|
-
</body>
|
387
|
-
</html>
|
@@ -1,210 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Class: TaintedLove::SinatraReporter::App
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.18
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
pathId = "TaintedLove::SinatraReporter::App";
|
19
|
-
relpath = '../../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../../_index.html">Index (A)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../TaintedLove.html" title="TaintedLove (module)">TaintedLove</a></span></span> » <span class='title'><span class='object_link'><a href="../SinatraReporter.html" title="TaintedLove::SinatraReporter (class)">SinatraReporter</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">App</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Class: TaintedLove::SinatraReporter::App
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
<dl>
|
70
|
-
<dt>Inherits:</dt>
|
71
|
-
<dd>
|
72
|
-
<span class="inheritName">Sinatra::Base</span>
|
73
|
-
|
74
|
-
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
76
|
-
|
77
|
-
<li class="next">Sinatra::Base</li>
|
78
|
-
|
79
|
-
<li class="next">TaintedLove::SinatraReporter::App</li>
|
80
|
-
|
81
|
-
</ul>
|
82
|
-
<a href="#" class="inheritanceTree">show all</a>
|
83
|
-
|
84
|
-
</dd>
|
85
|
-
</dl>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
<dl>
|
98
|
-
<dt>Defined in:</dt>
|
99
|
-
<dd>lib/tainted_love/reporter/sinatra_reporter.rb</dd>
|
100
|
-
</dl>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
<h2>
|
113
|
-
Instance Method Summary
|
114
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
115
|
-
</h2>
|
116
|
-
|
117
|
-
<ul class="summary">
|
118
|
-
|
119
|
-
<li class="public ">
|
120
|
-
<span class="summary_signature">
|
121
|
-
|
122
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(reporter) ⇒ App </a>
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
</span>
|
127
|
-
|
128
|
-
|
129
|
-
<span class="note title constructor">constructor</span>
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
<span class="summary_desc"><div class='inline'>
|
139
|
-
<p>A new instance of App.</p>
|
140
|
-
</div></span>
|
141
|
-
|
142
|
-
</li>
|
143
|
-
|
144
|
-
|
145
|
-
</ul>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
<div id="constructor_details" class="method_details_list">
|
150
|
-
<h2>Constructor Details</h2>
|
151
|
-
|
152
|
-
<div class="method_details first">
|
153
|
-
<h3 class="signature first" id="initialize-instance_method">
|
154
|
-
|
155
|
-
#<strong>initialize</strong>(reporter) ⇒ <tt><span class='object_link'><a href="" title="TaintedLove::SinatraReporter::App (class)">App</a></span></tt>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
</h3><div class="docstring">
|
162
|
-
<div class="discussion">
|
163
|
-
|
164
|
-
<p>Returns a new instance of App</p>
|
165
|
-
|
166
|
-
|
167
|
-
</div>
|
168
|
-
</div>
|
169
|
-
<div class="tags">
|
170
|
-
|
171
|
-
|
172
|
-
</div><table class="source_code">
|
173
|
-
<tr>
|
174
|
-
<td>
|
175
|
-
<pre class="lines">
|
176
|
-
|
177
|
-
|
178
|
-
18
|
179
|
-
19
|
180
|
-
20
|
181
|
-
21
|
182
|
-
22</pre>
|
183
|
-
</td>
|
184
|
-
<td>
|
185
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/reporter/sinatra_reporter.rb', line 18</span>
|
186
|
-
|
187
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_reporter'>reporter</span><span class='rparen'>)</span>
|
188
|
-
<span class='ivar'>@reportrer</span> <span class='op'>=</span> <span class='id identifier rubyid_reporter'>reporter</span>
|
189
|
-
|
190
|
-
<span class='kw'>super</span>
|
191
|
-
<span class='kw'>end</span></pre>
|
192
|
-
</td>
|
193
|
-
</tr>
|
194
|
-
</table>
|
195
|
-
</div>
|
196
|
-
|
197
|
-
</div>
|
198
|
-
|
199
|
-
|
200
|
-
</div>
|
201
|
-
|
202
|
-
<div id="footer">
|
203
|
-
Generated on Mon Apr 1 14:02:23 2019 by
|
204
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
205
|
-
0.9.18 (ruby-2.5.3).
|
206
|
-
</div>
|
207
|
-
|
208
|
-
</div>
|
209
|
-
</body>
|
210
|
-
</html>
|