netlinx-compile 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/NetLinx.html +15 -4
- data/doc/NetLinx/Compile.html +15 -4
- data/doc/NetLinx/Compile/Extension.html +16 -3
- data/doc/NetLinx/Compile/Extension/AXS.html +1 -1
- data/doc/NetLinx/Compile/ExtensionDiscovery.html +63 -16
- data/doc/NetLinx/Compile/ExtensionHandler.html +125 -53
- data/doc/NetLinx/Compile/Script.html +50 -10
- data/doc/NetLinx/Compiler.html +168 -53
- data/doc/NetLinx/CompilerResult.html +197 -50
- data/doc/NetLinx/NoCompilerError.html +9 -3
- data/doc/NetLinx/SourceFile.html +146 -59
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/file.license.html +2 -2
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/netlinx-compile.rb +11 -1
- data/lib/netlinx/compile/extension_discovery.rb +4 -2
- data/lib/netlinx/compile/extension_handler.rb +23 -25
- data/lib/netlinx/compile/script.rb +4 -3
- data/lib/netlinx/compiler.rb +39 -21
- data/lib/netlinx/compiler_result.rb +16 -17
- data/lib/netlinx/source_file.rb +16 -14
- data/license.txt +1 -1
- metadata +17 -17
@@ -128,7 +128,7 @@
|
|
128
128
|
<li class="public ">
|
129
129
|
<span class="summary_signature">
|
130
130
|
|
131
|
-
<a href="#run-class_method" title="run (class method)">+ (Object) <strong>run</strong>(**
|
131
|
+
<a href="#run-class_method" title="run (class method)">+ (Object) <strong>run</strong>(**kwargs) </a>
|
132
132
|
|
133
133
|
|
134
134
|
|
@@ -161,7 +161,7 @@
|
|
161
161
|
<div class="method_details first">
|
162
162
|
<h3 class="signature first" id="run-class_method">
|
163
163
|
|
164
|
-
+ (<tt>Object</tt>) <strong>run</strong>(**
|
164
|
+
+ (<tt>Object</tt>) <strong>run</strong>(**kwargs)
|
165
165
|
|
166
166
|
|
167
167
|
|
@@ -176,7 +176,49 @@
|
|
176
176
|
</div>
|
177
177
|
</div>
|
178
178
|
<div class="tags">
|
179
|
+
<p class="tag_title">Parameters:</p>
|
180
|
+
<ul class="param">
|
179
181
|
|
182
|
+
<li>
|
183
|
+
|
184
|
+
<span class='name'>kwargs</span>
|
185
|
+
|
186
|
+
|
187
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
—
|
192
|
+
<div class='inline'>
|
193
|
+
<p>a customizable set of options</p>
|
194
|
+
</div>
|
195
|
+
|
196
|
+
</li>
|
197
|
+
|
198
|
+
</ul>
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
<p class="tag_title">Options Hash (<tt>**kwargs</tt>):</p>
|
204
|
+
<ul class="option">
|
205
|
+
|
206
|
+
<li>
|
207
|
+
<span class="name">:argv</span>
|
208
|
+
<span class="type">(<tt>Array<String></tt>)</span>
|
209
|
+
<span class="default">
|
210
|
+
|
211
|
+
</span>
|
212
|
+
|
213
|
+
— <div class='inline'>
|
214
|
+
<p>A convenience to override ARGV, like for testing.</p>
|
215
|
+
</div>
|
216
|
+
|
217
|
+
</li>
|
218
|
+
|
219
|
+
</ul>
|
220
|
+
|
221
|
+
|
180
222
|
|
181
223
|
</div><table class="source_code">
|
182
224
|
<tr>
|
@@ -184,8 +226,6 @@
|
|
184
226
|
<pre class="lines">
|
185
227
|
|
186
228
|
|
187
|
-
13
|
188
|
-
14
|
189
229
|
15
|
190
230
|
16
|
191
231
|
17
|
@@ -280,14 +320,14 @@
|
|
280
320
|
106
|
281
321
|
107
|
282
322
|
108
|
283
|
-
109
|
323
|
+
109
|
324
|
+
110</pre>
|
284
325
|
</td>
|
285
326
|
<td>
|
286
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/compile/script.rb', line
|
327
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/compile/script.rb', line 15</span>
|
287
328
|
|
288
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier
|
289
|
-
<span class='
|
290
|
-
</span> <span class='id identifier rubyid_args'>args</span> <span class='op'>=</span> <span class='id identifier rubyid_kvargs'>kvargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:argv</span><span class='comma'>,</span> <span class='const'>ARGV</span>
|
329
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='rparen'>)</span>
|
330
|
+
<span class='id identifier rubyid_args'>args</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:argv</span><span class='comma'>,</span> <span class='const'>ARGV</span>
|
291
331
|
|
292
332
|
<span class='comment'># Command line options.
|
293
333
|
</span> <span class='ivar'>@options</span> <span class='op'>=</span> <span class='const'>OpenStruct</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> \
|
@@ -392,7 +432,7 @@
|
|
392
432
|
</div>
|
393
433
|
|
394
434
|
<div id="footer">
|
395
|
-
Generated on Mon Jan 26 15:
|
435
|
+
Generated on Mon Jan 26 15:36:24 2015 by
|
396
436
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
397
437
|
0.8.7.6 (ruby-2.1.5).
|
398
438
|
</div>
|
data/doc/NetLinx/Compiler.html
CHANGED
@@ -152,7 +152,7 @@
|
|
152
152
|
<li class="public ">
|
153
153
|
<span class="summary_signature">
|
154
154
|
|
155
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Compiler) <strong>initialize</strong>(**
|
155
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Compiler) <strong>initialize</strong>(**kwargs) </a>
|
156
156
|
|
157
157
|
|
158
158
|
|
@@ -185,7 +185,7 @@ default installation path.</p>
|
|
185
185
|
<div class="method_details first">
|
186
186
|
<h3 class="signature first" id="initialize-instance_method">
|
187
187
|
|
188
|
-
- (<tt><span class='object_link'><a href="" title="NetLinx::Compiler (class)">Compiler</a></span></tt>) <strong>initialize</strong>(**
|
188
|
+
- (<tt><span class='object_link'><a href="" title="NetLinx::Compiler (class)">Compiler</a></span></tt>) <strong>initialize</strong>(**kwargs)
|
189
189
|
|
190
190
|
|
191
191
|
|
@@ -195,29 +195,110 @@ default installation path.</p>
|
|
195
195
|
<div class="discussion">
|
196
196
|
|
197
197
|
<p>Checks for the AMX NetLinx compiler (third-party software, nlrc.exe) at the
|
198
|
-
default installation path
|
199
|
-
:compiler_path.</p>
|
198
|
+
default installation path.</p>
|
200
199
|
|
201
200
|
|
202
201
|
</div>
|
203
202
|
</div>
|
204
203
|
<div class="tags">
|
204
|
+
<p class="tag_title">Parameters:</p>
|
205
|
+
<ul class="param">
|
206
|
+
|
207
|
+
<li>
|
208
|
+
|
209
|
+
<span class='name'>kwargs</span>
|
210
|
+
|
211
|
+
|
212
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
—
|
217
|
+
<div class='inline'>
|
218
|
+
<p>a customizable set of options</p>
|
219
|
+
</div>
|
220
|
+
|
221
|
+
</li>
|
222
|
+
|
223
|
+
</ul>
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
<p class="tag_title">Options Hash (<tt>**kwargs</tt>):</p>
|
229
|
+
<ul class="option">
|
230
|
+
|
231
|
+
<li>
|
232
|
+
<span class="name">:compiler_exe</span>
|
233
|
+
<span class="type">(<tt>String</tt>)</span>
|
234
|
+
<span class="default">
|
235
|
+
|
236
|
+
— default:
|
237
|
+
<tt>'nlrc.exe'</tt>
|
238
|
+
|
239
|
+
</span>
|
240
|
+
|
241
|
+
</li>
|
242
|
+
|
243
|
+
<li>
|
244
|
+
<span class="name">:compiler_path</span>
|
245
|
+
<span class="type">(<tt>String</tt>)</span>
|
246
|
+
<span class="default">
|
247
|
+
|
248
|
+
</span>
|
249
|
+
|
250
|
+
— <div class='inline'>
|
251
|
+
<p>Recommend a directory to look for the compiler_exe.</p>
|
252
|
+
</div>
|
253
|
+
|
254
|
+
</li>
|
255
|
+
|
256
|
+
<li>
|
257
|
+
<span class="name">:use_wine</span>
|
258
|
+
<span class="type">(<tt>String</tt>)</span>
|
259
|
+
<span class="default">
|
260
|
+
|
261
|
+
— default:
|
262
|
+
<tt>false</tt>
|
263
|
+
|
264
|
+
</span>
|
265
|
+
|
266
|
+
— <div class='inline'>
|
267
|
+
<p>Set to true to force `wine` at the front of the compiler command. This is
|
268
|
+
automatic if nlrc.exe is installed at Wine's default Program Files
|
269
|
+
path.</p>
|
270
|
+
</div>
|
271
|
+
|
272
|
+
</li>
|
273
|
+
|
274
|
+
</ul>
|
205
275
|
|
206
276
|
|
277
|
+
<p class="tag_title">Raises:</p>
|
278
|
+
<ul class="raise">
|
279
|
+
|
280
|
+
<li>
|
281
|
+
|
282
|
+
|
283
|
+
<span class='type'>(<tt><span class='object_link'><a href="NoCompilerError.html" title="NetLinx::NoCompilerError (class)">NetLinx::NoCompilerError</a></span></tt>)</span>
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
—
|
288
|
+
<div class='inline'>
|
289
|
+
<p>Compiler not found.</p>
|
290
|
+
</div>
|
291
|
+
|
292
|
+
</li>
|
293
|
+
|
294
|
+
</ul>
|
295
|
+
|
207
296
|
</div><table class="source_code">
|
208
297
|
<tr>
|
209
298
|
<td>
|
210
299
|
<pre class="lines">
|
211
300
|
|
212
301
|
|
213
|
-
13
|
214
|
-
14
|
215
|
-
15
|
216
|
-
16
|
217
|
-
17
|
218
|
-
18
|
219
|
-
19
|
220
|
-
20
|
221
302
|
21
|
222
303
|
22
|
223
304
|
23
|
@@ -230,31 +311,55 @@ default installation path. This can be overridden by specifying
|
|
230
311
|
30
|
231
312
|
31
|
232
313
|
32
|
233
|
-
33
|
314
|
+
33
|
315
|
+
34
|
316
|
+
35
|
317
|
+
36
|
318
|
+
37
|
319
|
+
38
|
320
|
+
39
|
321
|
+
40
|
322
|
+
41
|
323
|
+
42
|
324
|
+
43
|
325
|
+
44
|
326
|
+
45
|
327
|
+
46
|
328
|
+
47
|
329
|
+
48
|
330
|
+
49</pre>
|
234
331
|
</td>
|
235
332
|
<td>
|
236
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler.rb', line
|
333
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler.rb', line 21</span>
|
237
334
|
|
238
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier
|
239
|
-
<span class='ivar'>@compiler_exe</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>nlrc.exe</span><span class='tstring_end'>'</span></span>
|
335
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='rparen'>)</span>
|
336
|
+
<span class='ivar'>@compiler_exe</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:compiler_exe</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>nlrc.exe</span><span class='tstring_end'>'</span></span>
|
337
|
+
<span class='id identifier rubyid_user_specified_path'>user_specified_path</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:compiler_path</span><span class='comma'>,</span> <span class='kw'>nil</span>
|
338
|
+
<span class='ivar'>@use_wine</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:use_wine</span><span class='comma'>,</span> <span class='kw'>false</span>
|
240
339
|
|
241
|
-
<span class='
|
242
|
-
<span class='
|
243
|
-
</span>
|
244
|
-
|
245
|
-
</span>
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
</span>
|
251
|
-
</span>
|
252
|
-
|
253
|
-
</span>
|
254
|
-
<span class='comment'># Compiler not found.
|
255
|
-
</span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>NoCompilerError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>The NetLinx compiler (nlrc.exe) could not be found on the system.</span><span class='tstring_end'>'</span></span>
|
340
|
+
<span class='id identifier rubyid_default_paths'>default_paths</span> <span class='op'>=</span> <span class='lbracket'>[</span>
|
341
|
+
<span class='id identifier rubyid_user_specified_path'>user_specified_path</span><span class='comma'>,</span>
|
342
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>C:\Program Files (x86)\Common Files\AMXShare\COM</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='comment'># 64-bit O/S path
|
343
|
+
</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>C:\Program Files\Common Files\AMXShare\COM</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='comment'># 32-bit O/S path
|
344
|
+
</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>~/.wine/drive_c/Program\ Files/Common\ Files/AMXShare/COM</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='comment'># Wine path
|
345
|
+
</span> <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span>
|
346
|
+
|
347
|
+
<span class='comment'># Check for NetLinx compiler.
|
348
|
+
</span> <span class='id identifier rubyid_default_paths'>default_paths</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_path'>path</span><span class='op'>|</span>
|
349
|
+
<span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exists?'>exists?</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='ivar'>@compiler_exe</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
350
|
+
<span class='ivar'>@compiler_path</span> <span class='op'>=</span> <span class='id identifier rubyid_path'>path</span>
|
351
|
+
<span class='kw'>break</span>
|
256
352
|
<span class='kw'>end</span>
|
257
353
|
<span class='kw'>end</span>
|
354
|
+
|
355
|
+
<span class='comment'># ---------------------------------------------------------
|
356
|
+
</span> <span class='comment'># TODO: Check if the compiler was added to the system path.
|
357
|
+
</span> <span class='comment'># Execute system(@compiler_exe).
|
358
|
+
</span> <span class='comment'># ---------------------------------------------------------
|
359
|
+
</span>
|
360
|
+
<span class='comment'># Compiler not found.
|
361
|
+
</span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>NoCompilerError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>The NetLinx compiler (</span><span class='embexpr_beg'>#{</span><span class='ivar'>@compiler_exe</span><span class='embexpr_end'>}</span><span class='tstring_content'>) could not be found on the system.</span><span class='tstring_end'>"</span></span> \
|
362
|
+
<span class='kw'>unless</span> <span class='ivar'>@compiler_path</span>
|
258
363
|
<span class='kw'>end</span></pre>
|
259
364
|
</td>
|
260
365
|
</tr>
|
@@ -280,8 +385,7 @@ default installation path. This can be overridden by specifying
|
|
280
385
|
</h3><div class="docstring">
|
281
386
|
<div class="discussion">
|
282
387
|
|
283
|
-
<p>Compile the specified object with the NetLinx compiler
|
284
|
-
Test::NetLinx::Compilable.</p>
|
388
|
+
<p>Compile the specified object with the NetLinx compiler.</p>
|
285
389
|
|
286
390
|
|
287
391
|
</div>
|
@@ -289,28 +393,19 @@ Test::NetLinx::Compilable.</p>
|
|
289
393
|
<div class="tags">
|
290
394
|
|
291
395
|
|
396
|
+
<p class="tag_title">See Also:</p>
|
397
|
+
<ul class="see">
|
398
|
+
|
399
|
+
<li>Test::NetLinx::Compilable.</li>
|
400
|
+
|
401
|
+
</ul>
|
402
|
+
|
292
403
|
</div><table class="source_code">
|
293
404
|
<tr>
|
294
405
|
<td>
|
295
406
|
<pre class="lines">
|
296
407
|
|
297
408
|
|
298
|
-
37
|
299
|
-
38
|
300
|
-
39
|
301
|
-
40
|
302
|
-
41
|
303
|
-
42
|
304
|
-
43
|
305
|
-
44
|
306
|
-
45
|
307
|
-
46
|
308
|
-
47
|
309
|
-
48
|
310
|
-
49
|
311
|
-
50
|
312
|
-
51
|
313
|
-
52
|
314
409
|
53
|
315
410
|
54
|
316
411
|
55
|
@@ -332,10 +427,28 @@ Test::NetLinx::Compilable.</p>
|
|
332
427
|
71
|
333
428
|
72
|
334
429
|
73
|
335
|
-
74
|
430
|
+
74
|
431
|
+
75
|
432
|
+
76
|
433
|
+
77
|
434
|
+
78
|
435
|
+
79
|
436
|
+
80
|
437
|
+
81
|
438
|
+
82
|
439
|
+
83
|
440
|
+
84
|
441
|
+
85
|
442
|
+
86
|
443
|
+
87
|
444
|
+
88
|
445
|
+
89
|
446
|
+
90
|
447
|
+
91
|
448
|
+
92</pre>
|
336
449
|
</td>
|
337
450
|
<td>
|
338
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler.rb', line
|
451
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler.rb', line 53</span>
|
339
452
|
|
340
453
|
<span class='kw'>def</span> <span class='id identifier rubyid_compile'>compile</span><span class='lparen'>(</span><span class='id identifier rubyid_compilable'>compilable</span><span class='rparen'>)</span>
|
341
454
|
<span class='id identifier rubyid_compiler'>compiler</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> <span class='ivar'>@compiler_exe</span><span class='comma'>,</span> <span class='ivar'>@compiler_path</span>
|
@@ -354,7 +467,9 @@ Test::NetLinx::Compilable.</p>
|
|
354
467
|
|
355
468
|
<span class='comment'># Run the NetLinx compiler.
|
356
469
|
</span> <span class='comment'># Note: NLRC.exe v2.1 freaks out if empty arguments ("") are in the command.
|
357
|
-
</span> <span class='id identifier rubyid_cmd'>cmd</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'
|
470
|
+
</span> <span class='id identifier rubyid_cmd'>cmd</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
471
|
+
<span class='id identifier rubyid_cmd'>cmd</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>wine </span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='ivar'>@use_wine</span> <span class='kw'>or</span> <span class='id identifier rubyid_compiler'>compiler</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/.wine/</span><span class='tstring_end'>'</span></span>
|
472
|
+
<span class='id identifier rubyid_cmd'>cmd</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_compiler'>compiler</span><span class='embexpr_end'>}</span><span class='tstring_content'>\" \"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_target_file'>target_file</span><span class='embexpr_end'>}</span><span class='tstring_content'>\"</span><span class='tstring_end'>"</span></span>
|
358
473
|
<span class='id identifier rubyid_cmd'>cmd</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> \"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_include_paths'>include_paths</span><span class='embexpr_end'>}</span><span class='tstring_content'>\"</span><span class='tstring_end'>"</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_include_paths'>include_paths</span>
|
359
474
|
<span class='id identifier rubyid_cmd'>cmd</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> \"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_module_paths'>module_paths</span><span class='embexpr_end'>}</span><span class='tstring_content'>\"</span><span class='tstring_end'>"</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_module_paths'>module_paths</span>
|
360
475
|
<span class='id identifier rubyid_cmd'>cmd</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> \"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_library_paths'>library_paths</span><span class='embexpr_end'>}</span><span class='tstring_content'>\"</span><span class='tstring_end'>"</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_library_paths'>library_paths</span>
|
@@ -385,7 +500,7 @@ Test::NetLinx::Compilable.</p>
|
|
385
500
|
</div>
|
386
501
|
|
387
502
|
<div id="footer">
|
388
|
-
Generated on Mon Jan 26 15:
|
503
|
+
Generated on Mon Jan 26 15:36:24 2015 by
|
389
504
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
390
505
|
0.8.7.6 (ruby-2.1.5).
|
391
506
|
</div>
|
@@ -336,7 +336,7 @@
|
|
336
336
|
<li class="public ">
|
337
337
|
<span class="summary_signature">
|
338
338
|
|
339
|
-
<a href="#error_items-instance_method" title="#error_items (instance method)">- (
|
339
|
+
<a href="#error_items-instance_method" title="#error_items (instance method)">- (Array<String>) <strong>error_items</strong> </a>
|
340
340
|
|
341
341
|
|
342
342
|
|
@@ -351,7 +351,7 @@
|
|
351
351
|
|
352
352
|
|
353
353
|
<span class="summary_desc"><div class='inline'>
|
354
|
-
<p>
|
354
|
+
<p>A list of errors.</p>
|
355
355
|
</div></span>
|
356
356
|
|
357
357
|
</li>
|
@@ -360,7 +360,7 @@
|
|
360
360
|
<li class="public ">
|
361
361
|
<span class="summary_signature">
|
362
362
|
|
363
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (CompilerResult) <strong>initialize</strong>(**
|
363
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (CompilerResult) <strong>initialize</strong>(**kwargs) </a>
|
364
364
|
|
365
365
|
|
366
366
|
|
@@ -377,7 +377,7 @@
|
|
377
377
|
|
378
378
|
|
379
379
|
<span class="summary_desc"><div class='inline'>
|
380
|
-
<p>
|
380
|
+
<p>A new instance of CompilerResult.</p>
|
381
381
|
</div></span>
|
382
382
|
|
383
383
|
</li>
|
@@ -401,7 +401,7 @@
|
|
401
401
|
|
402
402
|
|
403
403
|
<span class="summary_desc"><div class='inline'>
|
404
|
-
<p>
|
404
|
+
<p>True if compile was successful.</p>
|
405
405
|
</div></span>
|
406
406
|
|
407
407
|
</li>
|
@@ -410,7 +410,7 @@
|
|
410
410
|
<li class="public ">
|
411
411
|
<span class="summary_signature">
|
412
412
|
|
413
|
-
<a href="#target_file-instance_method" title="#target_file (instance method)">- (
|
413
|
+
<a href="#target_file-instance_method" title="#target_file (instance method)">- (String) <strong>target_file</strong> </a>
|
414
414
|
|
415
415
|
|
416
416
|
|
@@ -425,7 +425,7 @@
|
|
425
425
|
|
426
426
|
|
427
427
|
<span class="summary_desc"><div class='inline'>
|
428
|
-
<p>
|
428
|
+
<p>The absolute path of the source code file that was compiled.</p>
|
429
429
|
</div></span>
|
430
430
|
|
431
431
|
</li>
|
@@ -449,7 +449,7 @@
|
|
449
449
|
|
450
450
|
|
451
451
|
<span class="summary_desc"><div class='inline'>
|
452
|
-
<p>Alias of #stream
|
452
|
+
<p>Alias of <span class='object_link'><a href="#stream-instance_method" title="NetLinx::CompilerResult#stream (method)">#stream</a></span>.</p>
|
453
453
|
</div></span>
|
454
454
|
|
455
455
|
</li>
|
@@ -458,7 +458,7 @@
|
|
458
458
|
<li class="public ">
|
459
459
|
<span class="summary_signature">
|
460
460
|
|
461
|
-
<a href="#warning_items-instance_method" title="#warning_items (instance method)">- (
|
461
|
+
<a href="#warning_items-instance_method" title="#warning_items (instance method)">- (Array<String>) <strong>warning_items</strong> </a>
|
462
462
|
|
463
463
|
|
464
464
|
|
@@ -473,7 +473,7 @@
|
|
473
473
|
|
474
474
|
|
475
475
|
<span class="summary_desc"><div class='inline'>
|
476
|
-
<p>
|
476
|
+
<p>A list of warnings.</p>
|
477
477
|
</div></span>
|
478
478
|
|
479
479
|
</li>
|
@@ -488,7 +488,7 @@
|
|
488
488
|
<div class="method_details first">
|
489
489
|
<h3 class="signature first" id="initialize-instance_method">
|
490
490
|
|
491
|
-
- (<tt><span class='object_link'><a href="" title="NetLinx::CompilerResult (class)">CompilerResult</a></span></tt>) <strong>initialize</strong>(**
|
491
|
+
- (<tt><span class='object_link'><a href="" title="NetLinx::CompilerResult (class)">CompilerResult</a></span></tt>) <strong>initialize</strong>(**kwargs)
|
492
492
|
|
493
493
|
|
494
494
|
|
@@ -497,26 +497,115 @@
|
|
497
497
|
</h3><div class="docstring">
|
498
498
|
<div class="discussion">
|
499
499
|
|
500
|
-
<p>
|
501
|
-
|
502
|
-
<pre class="code ruby"><code class="ruby">stream -- The raw stream of text returned by the compiler.
|
503
|
-
compiler_target_files -- See Compilable interface.
|
504
|
-
compiler_include_paths -- See Compilable interface.
|
505
|
-
compiler_module_paths -- See Compilable interface.
|
506
|
-
compiler_library_paths -- See Compilable interface.</code></pre>
|
500
|
+
<p>Returns a new instance of CompilerResult</p>
|
507
501
|
|
508
502
|
|
509
503
|
</div>
|
510
504
|
</div>
|
511
505
|
<div class="tags">
|
506
|
+
<p class="tag_title">Parameters:</p>
|
507
|
+
<ul class="param">
|
508
|
+
|
509
|
+
<li>
|
510
|
+
|
511
|
+
<span class='name'>kwargs</span>
|
512
|
+
|
513
|
+
|
514
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
—
|
519
|
+
<div class='inline'>
|
520
|
+
<p>a customizable set of options</p>
|
521
|
+
</div>
|
522
|
+
|
523
|
+
</li>
|
524
|
+
|
525
|
+
</ul>
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
<p class="tag_title">Options Hash (<tt>**kwargs</tt>):</p>
|
531
|
+
<ul class="option">
|
532
|
+
|
533
|
+
<li>
|
534
|
+
<span class="name">:stream</span>
|
535
|
+
<span class="type">(<tt>String</tt>)</span>
|
536
|
+
<span class="default">
|
537
|
+
|
538
|
+
</span>
|
539
|
+
|
540
|
+
— <div class='inline'>
|
541
|
+
<p>The raw stream of text returned by the compiler.</p>
|
542
|
+
</div>
|
543
|
+
|
544
|
+
</li>
|
545
|
+
|
546
|
+
<li>
|
547
|
+
<span class="name">:compiler_target_files</span>
|
548
|
+
<span class="type">(<tt>Array<String></tt>)</span>
|
549
|
+
<span class="default">
|
550
|
+
|
551
|
+
</span>
|
552
|
+
|
553
|
+
— <div class='inline'>
|
554
|
+
<p>See Compilable interface.</p>
|
555
|
+
</div>
|
556
|
+
|
557
|
+
</li>
|
558
|
+
|
559
|
+
<li>
|
560
|
+
<span class="name">:compiler_include_paths</span>
|
561
|
+
<span class="type">(<tt>Array<String></tt>)</span>
|
562
|
+
<span class="default">
|
563
|
+
|
564
|
+
</span>
|
565
|
+
|
566
|
+
— <div class='inline'>
|
567
|
+
<p>See Compilable interface.</p>
|
568
|
+
</div>
|
569
|
+
|
570
|
+
</li>
|
571
|
+
|
572
|
+
<li>
|
573
|
+
<span class="name">:compiler_module_paths</span>
|
574
|
+
<span class="type">(<tt>Array<String></tt>)</span>
|
575
|
+
<span class="default">
|
576
|
+
|
577
|
+
</span>
|
578
|
+
|
579
|
+
— <div class='inline'>
|
580
|
+
<p>See Compilable interface.</p>
|
581
|
+
</div>
|
582
|
+
|
583
|
+
</li>
|
584
|
+
|
585
|
+
<li>
|
586
|
+
<span class="name">:compiler_library_paths</span>
|
587
|
+
<span class="type">(<tt>Array<String></tt>)</span>
|
588
|
+
<span class="default">
|
589
|
+
|
590
|
+
</span>
|
591
|
+
|
592
|
+
— <div class='inline'>
|
593
|
+
<p>See Compilable interface.</p>
|
594
|
+
</div>
|
595
|
+
|
596
|
+
</li>
|
597
|
+
|
598
|
+
</ul>
|
512
599
|
|
513
600
|
|
601
|
+
|
514
602
|
</div><table class="source_code">
|
515
603
|
<tr>
|
516
604
|
<td>
|
517
605
|
<pre class="lines">
|
518
606
|
|
519
607
|
|
608
|
+
27
|
520
609
|
28
|
521
610
|
29
|
522
611
|
30
|
@@ -532,19 +621,18 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
532
621
|
40
|
533
622
|
41
|
534
623
|
42
|
535
|
-
43
|
536
|
-
44</pre>
|
624
|
+
43</pre>
|
537
625
|
</td>
|
538
626
|
<td>
|
539
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line
|
627
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 27</span>
|
540
628
|
|
541
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier
|
542
|
-
<span class='ivar'>@stream</span> <span class='op'>=</span> <span class='id identifier
|
629
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='rparen'>)</span>
|
630
|
+
<span class='ivar'>@stream</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:stream</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
543
631
|
|
544
|
-
<span class='ivar'>@compiler_target_files</span> <span class='op'>=</span> <span class='id identifier
|
545
|
-
<span class='ivar'>@compiler_include_paths</span> <span class='op'>=</span> <span class='id identifier
|
546
|
-
<span class='ivar'>@compiler_module_paths</span> <span class='op'>=</span> <span class='id identifier
|
547
|
-
<span class='ivar'>@compiler_library_paths</span> <span class='op'>=</span> <span class='id identifier
|
632
|
+
<span class='ivar'>@compiler_target_files</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:compiler_target_files</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
633
|
+
<span class='ivar'>@compiler_include_paths</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:compiler_include_paths</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
634
|
+
<span class='ivar'>@compiler_module_paths</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:compiler_module_paths</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
635
|
+
<span class='ivar'>@compiler_library_paths</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:compiler_library_paths</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
548
636
|
|
549
637
|
<span class='comment'># Capture error and warning counts.
|
550
638
|
</span> <span class='ivar'>@errors</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
@@ -876,7 +964,7 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
876
964
|
<div class="method_details first">
|
877
965
|
<h3 class="signature first" id="error_items-instance_method">
|
878
966
|
|
879
|
-
- (<tt>
|
967
|
+
- (<tt>Array<String></tt>) <strong>error_items</strong>
|
880
968
|
|
881
969
|
|
882
970
|
|
@@ -885,13 +973,31 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
885
973
|
</h3><div class="docstring">
|
886
974
|
<div class="discussion">
|
887
975
|
|
888
|
-
<p>
|
976
|
+
<p>Returns a list of errors.</p>
|
889
977
|
|
890
978
|
|
891
979
|
</div>
|
892
980
|
</div>
|
893
981
|
<div class="tags">
|
894
982
|
|
983
|
+
<p class="tag_title">Returns:</p>
|
984
|
+
<ul class="return">
|
985
|
+
|
986
|
+
<li>
|
987
|
+
|
988
|
+
|
989
|
+
<span class='type'>(<tt>Array<String></tt>)</span>
|
990
|
+
|
991
|
+
|
992
|
+
|
993
|
+
—
|
994
|
+
<div class='inline'>
|
995
|
+
<p>a list of errors.</p>
|
996
|
+
</div>
|
997
|
+
|
998
|
+
</li>
|
999
|
+
|
1000
|
+
</ul>
|
895
1001
|
|
896
1002
|
</div><table class="source_code">
|
897
1003
|
<tr>
|
@@ -899,12 +1005,12 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
899
1005
|
<pre class="lines">
|
900
1006
|
|
901
1007
|
|
1008
|
+
66
|
902
1009
|
67
|
903
|
-
68
|
904
|
-
69</pre>
|
1010
|
+
68</pre>
|
905
1011
|
</td>
|
906
1012
|
<td>
|
907
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line
|
1013
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 66</span>
|
908
1014
|
|
909
1015
|
<span class='kw'>def</span> <span class='id identifier rubyid_error_items'>error_items</span>
|
910
1016
|
<span class='ivar'>@stream</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(^ERROR: .*$)</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span> <span class='id identifier rubyid_i'>i</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rbrace'>}</span>
|
@@ -926,7 +1032,7 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
926
1032
|
</h3><div class="docstring">
|
927
1033
|
<div class="discussion">
|
928
1034
|
|
929
|
-
<p>
|
1035
|
+
<p>Returns true if compile was successful.</p>
|
930
1036
|
|
931
1037
|
|
932
1038
|
</div>
|
@@ -943,6 +1049,11 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
943
1049
|
|
944
1050
|
|
945
1051
|
|
1052
|
+
—
|
1053
|
+
<div class='inline'>
|
1054
|
+
<p>true if compile was successful.</p>
|
1055
|
+
</div>
|
1056
|
+
|
946
1057
|
</li>
|
947
1058
|
|
948
1059
|
</ul>
|
@@ -953,12 +1064,12 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
953
1064
|
<pre class="lines">
|
954
1065
|
|
955
1066
|
|
1067
|
+
56
|
956
1068
|
57
|
957
|
-
58
|
958
|
-
59</pre>
|
1069
|
+
58</pre>
|
959
1070
|
</td>
|
960
1071
|
<td>
|
961
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line
|
1072
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 56</span>
|
962
1073
|
|
963
1074
|
<span class='kw'>def</span> <span class='id identifier rubyid_success?'>success?</span>
|
964
1075
|
<span class='ivar'>@errors</span> <span class='op'>==</span> <span class='int'>0</span> <span class='op'>&&</span> <span class='ivar'>@warnings</span> <span class='op'>==</span> <span class='int'>0</span>
|
@@ -971,7 +1082,7 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
971
1082
|
<div class="method_details ">
|
972
1083
|
<h3 class="signature " id="target_file-instance_method">
|
973
1084
|
|
974
|
-
- (<tt>
|
1085
|
+
- (<tt>String</tt>) <strong>target_file</strong>
|
975
1086
|
|
976
1087
|
|
977
1088
|
|
@@ -987,6 +1098,24 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
987
1098
|
</div>
|
988
1099
|
<div class="tags">
|
989
1100
|
|
1101
|
+
<p class="tag_title">Returns:</p>
|
1102
|
+
<ul class="return">
|
1103
|
+
|
1104
|
+
<li>
|
1105
|
+
|
1106
|
+
|
1107
|
+
<span class='type'>(<tt>String</tt>)</span>
|
1108
|
+
|
1109
|
+
|
1110
|
+
|
1111
|
+
—
|
1112
|
+
<div class='inline'>
|
1113
|
+
<p>the absolute path of the source code file that was compiled.</p>
|
1114
|
+
</div>
|
1115
|
+
|
1116
|
+
</li>
|
1117
|
+
|
1118
|
+
</ul>
|
990
1119
|
|
991
1120
|
</div><table class="source_code">
|
992
1121
|
<tr>
|
@@ -994,12 +1123,12 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
994
1123
|
<pre class="lines">
|
995
1124
|
|
996
1125
|
|
1126
|
+
51
|
997
1127
|
52
|
998
|
-
53
|
999
|
-
54</pre>
|
1128
|
+
53</pre>
|
1000
1129
|
</td>
|
1001
1130
|
<td>
|
1002
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line
|
1131
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 51</span>
|
1003
1132
|
|
1004
1133
|
<span class='kw'>def</span> <span class='id identifier rubyid_target_file'>target_file</span>
|
1005
1134
|
<span class='ivar'>@compiler_target_files</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
|
@@ -1021,7 +1150,7 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
1021
1150
|
</h3><div class="docstring">
|
1022
1151
|
<div class="discussion">
|
1023
1152
|
|
1024
|
-
<p>Alias of #stream
|
1153
|
+
<p>Alias of <span class='object_link'><a href="#stream-instance_method" title="NetLinx::CompilerResult#stream (method)">#stream</a></span>.</p>
|
1025
1154
|
|
1026
1155
|
|
1027
1156
|
</div>
|
@@ -1035,12 +1164,12 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
1035
1164
|
<pre class="lines">
|
1036
1165
|
|
1037
1166
|
|
1167
|
+
46
|
1038
1168
|
47
|
1039
|
-
48
|
1040
|
-
49</pre>
|
1169
|
+
48</pre>
|
1041
1170
|
</td>
|
1042
1171
|
<td>
|
1043
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line
|
1172
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 46</span>
|
1044
1173
|
|
1045
1174
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
1046
1175
|
<span class='ivar'>@stream</span>
|
@@ -1053,7 +1182,7 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
1053
1182
|
<div class="method_details ">
|
1054
1183
|
<h3 class="signature " id="warning_items-instance_method">
|
1055
1184
|
|
1056
|
-
- (<tt>
|
1185
|
+
- (<tt>Array<String></tt>) <strong>warning_items</strong>
|
1057
1186
|
|
1058
1187
|
|
1059
1188
|
|
@@ -1062,13 +1191,31 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
1062
1191
|
</h3><div class="docstring">
|
1063
1192
|
<div class="discussion">
|
1064
1193
|
|
1065
|
-
<p>
|
1194
|
+
<p>Returns a list of warnings.</p>
|
1066
1195
|
|
1067
1196
|
|
1068
1197
|
</div>
|
1069
1198
|
</div>
|
1070
1199
|
<div class="tags">
|
1071
1200
|
|
1201
|
+
<p class="tag_title">Returns:</p>
|
1202
|
+
<ul class="return">
|
1203
|
+
|
1204
|
+
<li>
|
1205
|
+
|
1206
|
+
|
1207
|
+
<span class='type'>(<tt>Array<String></tt>)</span>
|
1208
|
+
|
1209
|
+
|
1210
|
+
|
1211
|
+
—
|
1212
|
+
<div class='inline'>
|
1213
|
+
<p>a list of warnings.</p>
|
1214
|
+
</div>
|
1215
|
+
|
1216
|
+
</li>
|
1217
|
+
|
1218
|
+
</ul>
|
1072
1219
|
|
1073
1220
|
</div><table class="source_code">
|
1074
1221
|
<tr>
|
@@ -1076,12 +1223,12 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
1076
1223
|
<pre class="lines">
|
1077
1224
|
|
1078
1225
|
|
1226
|
+
61
|
1079
1227
|
62
|
1080
|
-
63
|
1081
|
-
64</pre>
|
1228
|
+
63</pre>
|
1082
1229
|
</td>
|
1083
1230
|
<td>
|
1084
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line
|
1231
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 61</span>
|
1085
1232
|
|
1086
1233
|
<span class='kw'>def</span> <span class='id identifier rubyid_warning_items'>warning_items</span>
|
1087
1234
|
<span class='ivar'>@stream</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(^WARNING: .*$)</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span> <span class='id identifier rubyid_i'>i</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rbrace'>}</span>
|
@@ -1096,7 +1243,7 @@ compiler_library_paths -- See Compilable interface.</code></pre>
|
|
1096
1243
|
</div>
|
1097
1244
|
|
1098
1245
|
<div id="footer">
|
1099
|
-
Generated on Mon Jan 26 15:
|
1246
|
+
Generated on Mon Jan 26 15:36:25 2015 by
|
1100
1247
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1101
1248
|
0.8.7.6 (ruby-2.1.5).
|
1102
1249
|
</div>
|