netlinx-workspace 0.2.0 → 0.3.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/README.md +14 -0
- data/doc/NetLinx.html +119 -131
- data/doc/NetLinx/Compile.html +115 -127
- data/doc/NetLinx/Compile/Extension.html +115 -127
- data/doc/NetLinx/Compile/Extension/APW.html +219 -136
- data/doc/NetLinx/Project.html +1100 -460
- data/doc/NetLinx/System.html +1197 -580
- data/doc/NetLinx/SystemFile.html +646 -301
- data/doc/NetLinx/Workspace.html +981 -438
- data/doc/_index.html +210 -0
- data/doc/class_list.html +54 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +86 -0
- data/doc/file.license.html +73 -0
- data/doc/file_list.html +59 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +86 -85
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -18
- data/doc/method_list.html +329 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/netlinx/system.rb +6 -6
- data/lib/netlinx/workspace.rb +14 -0
- metadata +84 -61
- data/README.html +0 -0
- data/doc/created.rid +0 -7
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/js/darkfish.js +0 -155
- data/doc/js/navigation.js +0 -142
- data/doc/js/search.js +0 -94
- data/doc/js/search_index.js +0 -1
- data/doc/js/searcher.js +0 -228
- data/doc/rdoc.css +0 -595
- data/doc/table_of_contents.html +0 -111
data/doc/NetLinx/System.html
CHANGED
@@ -1,588 +1,1205 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
<
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8"
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
<
|
25
|
-
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
</
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Class: NetLinx::System
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.4
|
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
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '../';
|
20
|
+
framesUrl = "../frames.html#!NetLinx/System.html";
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="../_index.html">Index (S)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">System</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="../class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="../method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="../file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Class: NetLinx::System
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
<dt class="r1">Inherits:</dt>
|
75
|
+
<dd class="r1">
|
76
|
+
<span class="inheritName">Object</span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next">NetLinx::System</li>
|
82
|
+
|
83
|
+
</ul>
|
84
|
+
<a href="#" class="inheritanceTree">show all</a>
|
85
|
+
|
86
|
+
</dd>
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
<dt class="r2 last">Defined in:</dt>
|
97
|
+
<dd class="r2 last">lib/netlinx/system.rb</dd>
|
98
|
+
|
99
|
+
</dl>
|
100
|
+
<div class="clear"></div>
|
101
|
+
|
102
|
+
<h2>Overview</h2><div class="docstring">
|
103
|
+
<div class="discussion">
|
104
|
+
|
105
|
+
<p>A collection of resources loaded onto a NetLinx master. Workspace ->
|
106
|
+
Project -> System</p>
|
107
|
+
|
108
|
+
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
<div class="tags">
|
112
|
+
|
113
|
+
|
114
|
+
</div>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
119
|
+
<ul class="summary">
|
120
|
+
|
121
|
+
<li class="public ">
|
122
|
+
<span class="summary_signature">
|
123
|
+
|
124
|
+
<a href="#description-instance_method" title="#description (instance method)">- (Object) <strong>description</strong> </a>
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
</span>
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
<span class="summary_desc"><div class='inline'>
|
142
|
+
<p>Returns the value of attribute description.</p>
|
143
|
+
</div></span>
|
144
|
+
|
145
|
+
</li>
|
146
|
+
|
147
|
+
|
148
|
+
<li class="public ">
|
149
|
+
<span class="summary_signature">
|
150
|
+
|
151
|
+
<a href="#files-instance_method" title="#files (instance method)">- (Object) <strong>files</strong> </a>
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
</span>
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
<span class="summary_desc"><div class='inline'>
|
169
|
+
<p>Returns the value of attribute files.</p>
|
170
|
+
</div></span>
|
171
|
+
|
172
|
+
</li>
|
173
|
+
|
174
|
+
|
175
|
+
<li class="public ">
|
176
|
+
<span class="summary_signature">
|
177
|
+
|
178
|
+
<a href="#id-instance_method" title="#id (instance method)">- (Object) <strong>id</strong> </a>
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
</span>
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
<span class="summary_desc"><div class='inline'>
|
196
|
+
<p>Returns the value of attribute id.</p>
|
197
|
+
</div></span>
|
198
|
+
|
199
|
+
</li>
|
200
|
+
|
201
|
+
|
202
|
+
<li class="public ">
|
203
|
+
<span class="summary_signature">
|
204
|
+
|
205
|
+
<a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
</span>
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
<span class="summary_desc"><div class='inline'>
|
223
|
+
<p>Returns the value of attribute name.</p>
|
224
|
+
</div></span>
|
225
|
+
|
226
|
+
</li>
|
227
|
+
|
228
|
+
|
229
|
+
<li class="public ">
|
230
|
+
<span class="summary_signature">
|
231
|
+
|
232
|
+
<a href="#project-instance_method" title="#project (instance method)">- (Object) <strong>project</strong> </a>
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
</span>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
<span class="summary_desc"><div class='inline'>
|
250
|
+
<p>A reference to the system's parent project.</p>
|
251
|
+
</div></span>
|
252
|
+
|
253
|
+
</li>
|
254
|
+
|
255
|
+
|
256
|
+
</ul>
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
<h2>
|
263
|
+
Instance Method Summary
|
264
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
265
|
+
</h2>
|
266
|
+
|
267
|
+
<ul class="summary">
|
268
|
+
|
269
|
+
<li class="public ">
|
270
|
+
<span class="summary_signature">
|
271
|
+
|
272
|
+
<a href="#%3C%3C-instance_method" title="#<< (instance method)">- (Object) <strong><<</strong>(file) </a>
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
</span>
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
<span class="summary_desc"><div class='inline'>
|
287
|
+
<p>Alias to add a file.</p>
|
288
|
+
</div></span>
|
289
|
+
|
290
|
+
</li>
|
291
|
+
|
292
|
+
|
293
|
+
<li class="public ">
|
294
|
+
<span class="summary_signature">
|
295
|
+
|
296
|
+
<a href="#compile-instance_method" title="#compile (instance method)">- (Object) <strong>compile</strong> </a>
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
</span>
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
<span class="summary_desc"><div class='inline'>
|
311
|
+
<p>Compile this system.</p>
|
312
|
+
</div></span>
|
313
|
+
|
314
|
+
</li>
|
315
|
+
|
316
|
+
|
317
|
+
<li class="public ">
|
318
|
+
<span class="summary_signature">
|
319
|
+
|
320
|
+
<a href="#compiler_include_paths-instance_method" title="#compiler_include_paths (instance method)">- (Object) <strong>compiler_include_paths</strong> </a>
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
</span>
|
325
|
+
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
<span class="summary_desc"><div class='inline'>
|
335
|
+
<p>See Test::NetLinx::Compilable.</p>
|
336
|
+
</div></span>
|
337
|
+
|
338
|
+
</li>
|
339
|
+
|
340
|
+
|
341
|
+
<li class="public ">
|
342
|
+
<span class="summary_signature">
|
343
|
+
|
344
|
+
<a href="#compiler_library_paths-instance_method" title="#compiler_library_paths (instance method)">- (Object) <strong>compiler_library_paths</strong> </a>
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
</span>
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
<span class="summary_desc"><div class='inline'>
|
359
|
+
<p>See Test::NetLinx::Compilable.</p>
|
360
|
+
</div></span>
|
361
|
+
|
362
|
+
</li>
|
363
|
+
|
364
|
+
|
365
|
+
<li class="public ">
|
366
|
+
<span class="summary_signature">
|
367
|
+
|
368
|
+
<a href="#compiler_module_paths-instance_method" title="#compiler_module_paths (instance method)">- (Object) <strong>compiler_module_paths</strong> </a>
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
</span>
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
|
382
|
+
<span class="summary_desc"><div class='inline'>
|
383
|
+
<p>See Test::NetLinx::Compilable.</p>
|
384
|
+
</div></span>
|
385
|
+
|
386
|
+
</li>
|
387
|
+
|
388
|
+
|
389
|
+
<li class="public ">
|
390
|
+
<span class="summary_signature">
|
391
|
+
|
392
|
+
<a href="#compiler_target_files-instance_method" title="#compiler_target_files (instance method)">- (Object) <strong>compiler_target_files</strong> </a>
|
393
|
+
|
394
|
+
|
395
|
+
|
396
|
+
</span>
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
<span class="summary_desc"><div class='inline'>
|
407
|
+
<p>See Test::NetLinx::Compilable.</p>
|
408
|
+
</div></span>
|
409
|
+
|
410
|
+
</li>
|
411
|
+
|
412
|
+
|
413
|
+
<li class="public ">
|
414
|
+
<span class="summary_signature">
|
415
|
+
|
416
|
+
<a href="#include%3F-instance_method" title="#include? (instance method)">- (Boolean) <strong>include?</strong>(file) </a>
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
</span>
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
<span class="summary_desc"><div class='inline'>
|
431
|
+
<p>Returns true if the project contains the specified file.</p>
|
432
|
+
</div></span>
|
433
|
+
|
434
|
+
</li>
|
435
|
+
|
436
|
+
|
437
|
+
<li class="public ">
|
438
|
+
<span class="summary_signature">
|
439
|
+
|
440
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (System) <strong>initialize</strong>(**kvargs) </a>
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
</span>
|
445
|
+
|
446
|
+
|
447
|
+
<span class="note title constructor">constructor</span>
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
|
456
|
+
<span class="summary_desc"><div class='inline'>
|
457
|
+
<p>A new instance of System.</p>
|
458
|
+
</div></span>
|
459
|
+
|
460
|
+
</li>
|
461
|
+
|
462
|
+
|
463
|
+
<li class="public ">
|
464
|
+
<span class="summary_signature">
|
465
|
+
|
466
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
</span>
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
|
480
|
+
<span class="summary_desc"><div class='inline'>
|
481
|
+
<p>Returns the system name.</p>
|
482
|
+
</div></span>
|
483
|
+
|
484
|
+
</li>
|
485
|
+
|
486
|
+
|
487
|
+
</ul>
|
488
|
+
|
489
|
+
|
490
|
+
<div id="constructor_details" class="method_details_list">
|
491
|
+
<h2>Constructor Details</h2>
|
492
|
+
|
493
|
+
<div class="method_details first">
|
494
|
+
<h3 class="signature first" id="initialize-instance_method">
|
495
|
+
|
496
|
+
- (<tt><span class='object_link'><a href="" title="NetLinx::System (class)">System</a></span></tt>) <strong>initialize</strong>(**kvargs)
|
497
|
+
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
</h3><div class="docstring">
|
503
|
+
<div class="discussion">
|
504
|
+
|
505
|
+
<p>Returns a new instance of System</p>
|
506
|
+
|
507
|
+
|
508
|
+
</div>
|
509
|
+
</div>
|
510
|
+
<div class="tags">
|
511
|
+
|
512
|
+
|
513
|
+
</div><table class="source_code">
|
514
|
+
<tr>
|
515
|
+
<td>
|
516
|
+
<pre class="lines">
|
517
|
+
|
518
|
+
|
519
|
+
13
|
520
|
+
14
|
521
|
+
15
|
522
|
+
16
|
523
|
+
17
|
524
|
+
18
|
525
|
+
19
|
526
|
+
20
|
527
|
+
21
|
528
|
+
22
|
529
|
+
23
|
530
|
+
24
|
531
|
+
25
|
532
|
+
26
|
533
|
+
27
|
534
|
+
28</pre>
|
535
|
+
</td>
|
536
|
+
<td>
|
537
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 13</span>
|
538
|
+
|
539
|
+
<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_kvargs'>kvargs</span><span class='rparen'>)</span>
|
540
|
+
<span class='ivar'>@name</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'>:name</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
541
|
+
<span class='ivar'>@id</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'>:id</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
542
|
+
<span class='ivar'>@description</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'>:description</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
543
|
+
<span class='ivar'>@project</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'>:project</span><span class='comma'>,</span> <span class='kw'>nil</span>
|
46
544
|
|
47
|
-
|
48
|
-
<div id="file-metadata">
|
49
|
-
<nav id="file-list-section" class="section">
|
50
|
-
<h3 class="section-header">Defined In</h3>
|
51
|
-
<ul>
|
52
|
-
<li>lib/netlinx/system.rb
|
53
|
-
</ul>
|
54
|
-
</nav>
|
55
|
-
|
56
|
-
|
57
|
-
</div>
|
58
|
-
|
59
|
-
<div id="class-metadata">
|
60
|
-
|
61
|
-
<nav id="parent-class-section" class="section">
|
62
|
-
<h3 class="section-header">Parent</h3>
|
63
|
-
|
64
|
-
<p class="link">Object
|
65
|
-
|
66
|
-
</nav>
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
<!-- Method Quickref -->
|
71
|
-
<nav id="method-list-section" class="section">
|
72
|
-
<h3 class="section-header">Methods</h3>
|
73
|
-
|
74
|
-
<ul class="link-list">
|
75
|
-
|
76
|
-
<li ><a href="#method-c-new">::new</a>
|
77
|
-
|
78
|
-
<li ><a href="#method-i-3C-3C">#<<</a>
|
79
|
-
|
80
|
-
<li ><a href="#method-i-compile">#compile</a>
|
81
|
-
|
82
|
-
<li ><a href="#method-i-compiler_include_paths">#compiler_include_paths</a>
|
83
|
-
|
84
|
-
<li ><a href="#method-i-compiler_library_paths">#compiler_library_paths</a>
|
85
|
-
|
86
|
-
<li ><a href="#method-i-compiler_module_paths">#compiler_module_paths</a>
|
87
|
-
|
88
|
-
<li ><a href="#method-i-compiler_target_files">#compiler_target_files</a>
|
89
|
-
|
90
|
-
<li ><a href="#method-i-include-3F">#include?</a>
|
91
|
-
|
92
|
-
<li ><a href="#method-i-to_s">#to_s</a>
|
93
|
-
|
94
|
-
</ul>
|
95
|
-
</nav>
|
96
|
-
|
97
|
-
</div>
|
98
|
-
|
99
|
-
<div id="project-metadata">
|
100
|
-
|
101
|
-
<nav id="classindex-section" class="section project-section">
|
102
|
-
<h3 class="section-header">Class and Module Index</h3>
|
103
|
-
|
104
|
-
<ul class="link-list">
|
105
|
-
|
106
|
-
<li><a href="../NetLinx.html">NetLinx</a>
|
107
|
-
|
108
|
-
<li><a href="../NetLinx/Compile.html">NetLinx::Compile</a>
|
109
|
-
|
110
|
-
<li><a href="../NetLinx/Compile/Extension.html">NetLinx::Compile::Extension</a>
|
111
|
-
|
112
|
-
<li><a href="../NetLinx/Compile/Extension/APW.html">NetLinx::Compile::Extension::APW</a>
|
113
|
-
|
114
|
-
<li><a href="../NetLinx/Project.html">NetLinx::Project</a>
|
115
|
-
|
116
|
-
<li><a href="../NetLinx/System.html">NetLinx::System</a>
|
117
|
-
|
118
|
-
<li><a href="../NetLinx/SystemFile.html">NetLinx::SystemFile</a>
|
119
|
-
|
120
|
-
<li><a href="../NetLinx/Workspace.html">NetLinx::Workspace</a>
|
121
|
-
|
122
|
-
</ul>
|
123
|
-
</nav>
|
124
|
-
|
125
|
-
</div>
|
126
|
-
</nav>
|
127
|
-
|
128
|
-
<div id="documentation">
|
129
|
-
<h1 class="class">class NetLinx::System</h1>
|
130
|
-
|
131
|
-
<div id="description" class="description">
|
132
|
-
|
133
|
-
<p>A collection of resources loaded onto a <a
|
134
|
-
href="../NetLinx.html">NetLinx</a> master. <a
|
135
|
-
href="Workspace.html">Workspace</a> -> <a
|
136
|
-
href="Project.html">Project</a> -> <a href="System.html">System</a></p>
|
137
|
-
|
138
|
-
</div><!-- description -->
|
139
|
-
|
545
|
+
<span class='ivar'>@files</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
140
546
|
|
547
|
+
<span class='ivar'>@compiler_target_files</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
548
|
+
<span class='ivar'>@compiler_include_paths</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
549
|
+
<span class='ivar'>@compiler_module_paths</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
550
|
+
<span class='ivar'>@compiler_library_paths</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
141
551
|
|
552
|
+
<span class='id identifier rubyid_system_element'>system_element</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'>:element</span><span class='comma'>,</span> <span class='kw'>nil</span>
|
553
|
+
<span class='id identifier rubyid_parse_xml_element'>parse_xml_element</span> <span class='id identifier rubyid_system_element'>system_element</span> <span class='kw'>if</span> <span class='id identifier rubyid_system_element'>system_element</span>
|
554
|
+
<span class='kw'>end</span></pre>
|
555
|
+
</td>
|
556
|
+
</tr>
|
557
|
+
</table>
|
558
|
+
</div>
|
559
|
+
|
560
|
+
</div>
|
561
|
+
|
562
|
+
<div id="instance_attr_details" class="attr_details">
|
563
|
+
<h2>Instance Attribute Details</h2>
|
564
|
+
|
565
|
+
|
566
|
+
<span id="description=-instance_method"></span>
|
567
|
+
<div class="method_details first">
|
568
|
+
<h3 class="signature first" id="description-instance_method">
|
569
|
+
|
570
|
+
- (<tt>Object</tt>) <strong>description</strong>
|
571
|
+
|
572
|
+
|
573
|
+
|
574
|
+
|
575
|
+
|
576
|
+
</h3><div class="docstring">
|
577
|
+
<div class="discussion">
|
578
|
+
|
579
|
+
<p>Returns the value of attribute description</p>
|
580
|
+
|
581
|
+
|
582
|
+
</div>
|
583
|
+
</div>
|
584
|
+
<div class="tags">
|
585
|
+
|
586
|
+
|
587
|
+
</div><table class="source_code">
|
588
|
+
<tr>
|
589
|
+
<td>
|
590
|
+
<pre class="lines">
|
591
|
+
|
592
|
+
|
593
|
+
9
|
594
|
+
10
|
595
|
+
11</pre>
|
596
|
+
</td>
|
597
|
+
<td>
|
598
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 9</span>
|
599
|
+
|
600
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
|
601
|
+
<span class='ivar'>@description</span>
|
602
|
+
<span class='kw'>end</span></pre>
|
603
|
+
</td>
|
604
|
+
</tr>
|
605
|
+
</table>
|
606
|
+
</div>
|
607
|
+
|
608
|
+
|
609
|
+
<span id="files=-instance_method"></span>
|
610
|
+
<div class="method_details ">
|
611
|
+
<h3 class="signature " id="files-instance_method">
|
612
|
+
|
613
|
+
- (<tt>Object</tt>) <strong>files</strong>
|
614
|
+
|
615
|
+
|
616
|
+
|
617
|
+
|
618
|
+
|
619
|
+
</h3><div class="docstring">
|
620
|
+
<div class="discussion">
|
621
|
+
|
622
|
+
<p>Returns the value of attribute files</p>
|
623
|
+
|
624
|
+
|
625
|
+
</div>
|
626
|
+
</div>
|
627
|
+
<div class="tags">
|
628
|
+
|
629
|
+
|
630
|
+
</div><table class="source_code">
|
631
|
+
<tr>
|
632
|
+
<td>
|
633
|
+
<pre class="lines">
|
634
|
+
|
635
|
+
|
636
|
+
11
|
637
|
+
12
|
638
|
+
13</pre>
|
639
|
+
</td>
|
640
|
+
<td>
|
641
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 11</span>
|
642
|
+
|
643
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_files'>files</span>
|
644
|
+
<span class='ivar'>@files</span>
|
645
|
+
<span class='kw'>end</span></pre>
|
646
|
+
</td>
|
647
|
+
</tr>
|
648
|
+
</table>
|
649
|
+
</div>
|
650
|
+
|
651
|
+
|
652
|
+
<span id="id=-instance_method"></span>
|
653
|
+
<div class="method_details ">
|
654
|
+
<h3 class="signature " id="id-instance_method">
|
655
|
+
|
656
|
+
- (<tt>Object</tt>) <strong>id</strong>
|
657
|
+
|
658
|
+
|
659
|
+
|
660
|
+
|
661
|
+
|
662
|
+
</h3><div class="docstring">
|
663
|
+
<div class="discussion">
|
664
|
+
|
665
|
+
<p>Returns the value of attribute id</p>
|
666
|
+
|
667
|
+
|
668
|
+
</div>
|
669
|
+
</div>
|
670
|
+
<div class="tags">
|
671
|
+
|
672
|
+
|
673
|
+
</div><table class="source_code">
|
674
|
+
<tr>
|
675
|
+
<td>
|
676
|
+
<pre class="lines">
|
677
|
+
|
678
|
+
|
679
|
+
8
|
680
|
+
9
|
681
|
+
10</pre>
|
682
|
+
</td>
|
683
|
+
<td>
|
684
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 8</span>
|
685
|
+
|
686
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
|
687
|
+
<span class='ivar'>@id</span>
|
688
|
+
<span class='kw'>end</span></pre>
|
689
|
+
</td>
|
690
|
+
</tr>
|
691
|
+
</table>
|
692
|
+
</div>
|
693
|
+
|
694
|
+
|
695
|
+
<span id="name=-instance_method"></span>
|
696
|
+
<div class="method_details ">
|
697
|
+
<h3 class="signature " id="name-instance_method">
|
698
|
+
|
699
|
+
- (<tt>Object</tt>) <strong>name</strong>
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
|
704
|
+
|
705
|
+
</h3><div class="docstring">
|
706
|
+
<div class="discussion">
|
707
|
+
|
708
|
+
<p>Returns the value of attribute name</p>
|
709
|
+
|
710
|
+
|
711
|
+
</div>
|
712
|
+
</div>
|
713
|
+
<div class="tags">
|
714
|
+
|
715
|
+
|
716
|
+
</div><table class="source_code">
|
717
|
+
<tr>
|
718
|
+
<td>
|
719
|
+
<pre class="lines">
|
720
|
+
|
721
|
+
|
722
|
+
7
|
723
|
+
8
|
724
|
+
9</pre>
|
725
|
+
</td>
|
726
|
+
<td>
|
727
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 7</span>
|
728
|
+
|
729
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
730
|
+
<span class='ivar'>@name</span>
|
731
|
+
<span class='kw'>end</span></pre>
|
732
|
+
</td>
|
733
|
+
</tr>
|
734
|
+
</table>
|
735
|
+
</div>
|
736
|
+
|
737
|
+
|
738
|
+
<span id="project=-instance_method"></span>
|
739
|
+
<div class="method_details ">
|
740
|
+
<h3 class="signature " id="project-instance_method">
|
741
|
+
|
742
|
+
- (<tt>Object</tt>) <strong>project</strong>
|
743
|
+
|
744
|
+
|
745
|
+
|
746
|
+
|
747
|
+
|
748
|
+
</h3><div class="docstring">
|
749
|
+
<div class="discussion">
|
750
|
+
|
751
|
+
<p>A reference to the system's parent project.</p>
|
752
|
+
|
753
|
+
|
754
|
+
</div>
|
755
|
+
</div>
|
756
|
+
<div class="tags">
|
757
|
+
|
758
|
+
|
759
|
+
</div><table class="source_code">
|
760
|
+
<tr>
|
761
|
+
<td>
|
762
|
+
<pre class="lines">
|
763
|
+
|
764
|
+
|
765
|
+
10
|
766
|
+
11
|
767
|
+
12</pre>
|
768
|
+
</td>
|
769
|
+
<td>
|
770
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 10</span>
|
771
|
+
|
772
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_project'>project</span>
|
773
|
+
<span class='ivar'>@project</span>
|
774
|
+
<span class='kw'>end</span></pre>
|
775
|
+
</td>
|
776
|
+
</tr>
|
777
|
+
</table>
|
778
|
+
</div>
|
779
|
+
|
780
|
+
</div>
|
781
|
+
|
782
|
+
|
783
|
+
<div id="instance_method_details" class="method_details_list">
|
784
|
+
<h2>Instance Method Details</h2>
|
785
|
+
|
786
|
+
|
787
|
+
<div class="method_details first">
|
788
|
+
<h3 class="signature first" id="<<-instance_method">
|
789
|
+
|
790
|
+
- (<tt>Object</tt>) <strong><<</strong>(file)
|
791
|
+
|
792
|
+
|
793
|
+
|
794
|
+
|
795
|
+
|
796
|
+
</h3><div class="docstring">
|
797
|
+
<div class="discussion">
|
798
|
+
|
799
|
+
<p>Alias to add a file.</p>
|
800
|
+
|
801
|
+
|
802
|
+
</div>
|
803
|
+
</div>
|
804
|
+
<div class="tags">
|
805
|
+
|
806
|
+
|
807
|
+
</div><table class="source_code">
|
808
|
+
<tr>
|
809
|
+
<td>
|
810
|
+
<pre class="lines">
|
811
|
+
|
812
|
+
|
813
|
+
31
|
814
|
+
32
|
815
|
+
33
|
816
|
+
34</pre>
|
817
|
+
</td>
|
818
|
+
<td>
|
819
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 31</span>
|
820
|
+
|
821
|
+
<span class='kw'>def</span> <span class='op'><<</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='rparen'>)</span>
|
822
|
+
<span class='ivar'>@files</span> <span class='op'><<</span> <span class='id identifier rubyid_file'>file</span>
|
823
|
+
<span class='id identifier rubyid_file'>file</span><span class='period'>.</span><span class='id identifier rubyid_system'>system</span> <span class='op'>=</span> <span class='kw'>self</span>
|
824
|
+
<span class='kw'>end</span></pre>
|
825
|
+
</td>
|
826
|
+
</tr>
|
827
|
+
</table>
|
828
|
+
</div>
|
829
|
+
|
830
|
+
<div class="method_details ">
|
831
|
+
<h3 class="signature " id="compile-instance_method">
|
832
|
+
|
833
|
+
- (<tt>Object</tt>) <strong>compile</strong>
|
834
|
+
|
835
|
+
|
836
|
+
|
837
|
+
|
838
|
+
|
839
|
+
</h3><div class="docstring">
|
840
|
+
<div class="discussion">
|
841
|
+
|
842
|
+
<p>Compile this system.</p>
|
843
|
+
|
844
|
+
|
845
|
+
</div>
|
846
|
+
</div>
|
847
|
+
<div class="tags">
|
848
|
+
|
849
|
+
|
850
|
+
</div><table class="source_code">
|
851
|
+
<tr>
|
852
|
+
<td>
|
853
|
+
<pre class="lines">
|
854
|
+
|
855
|
+
|
856
|
+
95
|
857
|
+
96
|
858
|
+
97
|
859
|
+
98
|
860
|
+
99
|
861
|
+
100
|
862
|
+
101</pre>
|
863
|
+
</td>
|
864
|
+
<td>
|
865
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 95</span>
|
866
|
+
|
867
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_compile'>compile</span>
|
868
|
+
<span class='comment'># The compiler dependency is only needed if this method is called.
|
869
|
+
</span> <span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>netlinx/compiler</span><span class='tstring_end'>'</span></span>
|
142
870
|
|
143
|
-
<
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
</
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
<
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
<
|
265
|
-
<
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
<
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
<
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
<span class=
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
<
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
<div class="method-source-code" id="compiler_library_paths-source">
|
409
|
-
<pre><span class="ruby-comment"># File lib/netlinx/system.rb, line 72</span>
|
410
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">compiler_library_paths</span>
|
411
|
-
[]
|
412
|
-
<span class="ruby-keyword">end</span></pre>
|
413
|
-
</div><!-- compiler_library_paths-source -->
|
414
|
-
|
415
|
-
</div>
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
</div><!-- compiler_library_paths-method -->
|
421
|
-
|
422
|
-
|
423
|
-
<div id="method-i-compiler_module_paths" class="method-detail ">
|
424
|
-
|
425
|
-
<div class="method-heading">
|
426
|
-
<span class="method-name">compiler_module_paths</span><span
|
427
|
-
class="method-args">()</span>
|
428
|
-
|
429
|
-
<span class="method-click-advice">click to toggle source</span>
|
430
|
-
|
431
|
-
</div>
|
432
|
-
|
433
|
-
|
434
|
-
<div class="method-description">
|
435
|
-
|
436
|
-
<p>See Test::NetLinx::Compilable.</p>
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
<div class="method-source-code" id="compiler_module_paths-source">
|
442
|
-
<pre><span class="ruby-comment"># File lib/netlinx/system.rb, line 62</span>
|
443
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">compiler_module_paths</span>
|
444
|
-
<span class="ruby-ivar">@files</span>
|
445
|
-
.<span class="ruby-identifier">select</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-string">'Module'</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-string">'TKO'</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-string">'DUET'</span>}
|
446
|
-
.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">f</span>.<span class="ruby-identifier">path</span>),
|
447
|
-
<span class="ruby-identifier">f</span>.<span class="ruby-identifier">system</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">workspace</span>.<span class="ruby-identifier">path</span>
|
448
|
-
}
|
449
|
-
<span class="ruby-keyword">end</span></pre>
|
450
|
-
</div><!-- compiler_module_paths-source -->
|
451
|
-
|
452
|
-
</div>
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
</div><!-- compiler_module_paths-method -->
|
458
|
-
|
459
|
-
|
460
|
-
<div id="method-i-compiler_target_files" class="method-detail ">
|
461
|
-
|
462
|
-
<div class="method-heading">
|
463
|
-
<span class="method-name">compiler_target_files</span><span
|
464
|
-
class="method-args">()</span>
|
465
|
-
|
466
|
-
<span class="method-click-advice">click to toggle source</span>
|
467
|
-
|
468
|
-
</div>
|
469
|
-
|
470
|
-
|
471
|
-
<div class="method-description">
|
472
|
-
|
473
|
-
<p>See Test::NetLinx::Compilable.</p>
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
<div class="method-source-code" id="compiler_target_files-source">
|
479
|
-
<pre><span class="ruby-comment"># File lib/netlinx/system.rb, line 42</span>
|
480
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">compiler_target_files</span>
|
481
|
-
<span class="ruby-ivar">@files</span>
|
482
|
-
.<span class="ruby-identifier">select</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-string">'MasterSrc'</span>}
|
483
|
-
.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">path</span>,
|
484
|
-
<span class="ruby-identifier">f</span>.<span class="ruby-identifier">system</span>.<span class="ruby-identifier">project</span>.<span class="ruby-identifier">workspace</span>.<span class="ruby-identifier">path</span>
|
485
|
-
}
|
486
|
-
<span class="ruby-keyword">end</span></pre>
|
487
|
-
</div><!-- compiler_target_files-source -->
|
488
|
-
|
489
|
-
</div>
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
</div><!-- compiler_target_files-method -->
|
495
|
-
|
496
|
-
|
497
|
-
<div id="method-i-include-3F" class="method-detail ">
|
498
|
-
|
499
|
-
<div class="method-heading">
|
500
|
-
<span class="method-name">include?</span><span
|
501
|
-
class="method-args">(file)</span>
|
502
|
-
|
503
|
-
<span class="method-click-advice">click to toggle source</span>
|
504
|
-
|
505
|
-
</div>
|
506
|
-
|
507
|
-
|
508
|
-
<div class="method-description">
|
509
|
-
|
510
|
-
<p>Returns true if the project contains the specified file.</p>
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
<div class="method-source-code" id="include-3F-source">
|
516
|
-
<pre><span class="ruby-comment"># File lib/netlinx/system.rb, line 77</span>
|
517
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">include?</span>(<span class="ruby-identifier">file</span>)
|
518
|
-
<span class="ruby-identifier">included</span> = <span class="ruby-keyword">false</span>
|
519
|
-
|
520
|
-
<span class="ruby-ivar">@files</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|
521
|
-
<span class="ruby-identifier">name_included</span> = <span class="ruby-identifier">f</span>.<span class="ruby-identifier">name</span>.<span class="ruby-identifier">downcase</span>.<span class="ruby-identifier">eql?</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">downcase</span>
|
522
|
-
|
523
|
-
<span class="ruby-comment"># TODO: This should probably be relative to the workspace path,</span>
|
524
|
-
<span class="ruby-comment"># which can be found by traversing @project, @workspace.</span>
|
525
|
-
<span class="ruby-identifier">path_included</span> = <span class="ruby-identifier">file</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/\/</span>, <span class="ruby-string">'/'</span>).<span class="ruby-identifier">include?</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">path</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/\/</span>, <span class="ruby-string">'/'</span>)
|
526
|
-
|
527
|
-
<span class="ruby-identifier">included</span> = <span class="ruby-identifier">name_included</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">path_included</span>
|
528
|
-
<span class="ruby-keyword">break</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">included</span>
|
529
|
-
<span class="ruby-keyword">end</span>
|
871
|
+
<span class='id identifier rubyid_compiler'>compiler</span> <span class='op'>=</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>Compiler</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
872
|
+
<span class='id identifier rubyid_compiler'>compiler</span><span class='period'>.</span><span class='id identifier rubyid_compile'>compile</span> <span class='kw'>self</span>
|
873
|
+
<span class='kw'>end</span></pre>
|
874
|
+
</td>
|
875
|
+
</tr>
|
876
|
+
</table>
|
877
|
+
</div>
|
878
|
+
|
879
|
+
<div class="method_details ">
|
880
|
+
<h3 class="signature " id="compiler_include_paths-instance_method">
|
881
|
+
|
882
|
+
- (<tt>Object</tt>) <strong>compiler_include_paths</strong>
|
883
|
+
|
884
|
+
|
885
|
+
|
886
|
+
|
887
|
+
|
888
|
+
</h3><div class="docstring">
|
889
|
+
<div class="discussion">
|
890
|
+
|
891
|
+
<p>See Test::NetLinx::Compilable.</p>
|
892
|
+
|
893
|
+
|
894
|
+
</div>
|
895
|
+
</div>
|
896
|
+
<div class="tags">
|
897
|
+
|
898
|
+
|
899
|
+
</div><table class="source_code">
|
900
|
+
<tr>
|
901
|
+
<td>
|
902
|
+
<pre class="lines">
|
903
|
+
|
904
|
+
|
905
|
+
52
|
906
|
+
53
|
907
|
+
54
|
908
|
+
55
|
909
|
+
56
|
910
|
+
57
|
911
|
+
58
|
912
|
+
59</pre>
|
913
|
+
</td>
|
914
|
+
<td>
|
915
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 52</span>
|
916
|
+
|
917
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_compiler_include_paths'>compiler_include_paths</span>
|
918
|
+
<span class='ivar'>@files</span><span class='period'>
|
919
|
+
</span><span class='id identifier rubyid_ .select'> .select</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Include</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='period'>
|
920
|
+
</span><span class='id identifier rubyid_ .map'> .map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> \
|
921
|
+
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>\\</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rparen'>)</span><span class='comma'>,</span>
|
922
|
+
<span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_project'>project</span><span class='period'>.</span><span class='id identifier rubyid_workspace'>workspace</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span>
|
923
|
+
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_uniq'>uniq</span>
|
924
|
+
<span class='kw'>end</span></pre>
|
925
|
+
</td>
|
926
|
+
</tr>
|
927
|
+
</table>
|
928
|
+
</div>
|
929
|
+
|
930
|
+
<div class="method_details ">
|
931
|
+
<h3 class="signature " id="compiler_library_paths-instance_method">
|
932
|
+
|
933
|
+
- (<tt>Object</tt>) <strong>compiler_library_paths</strong>
|
934
|
+
|
935
|
+
|
936
|
+
|
937
|
+
|
938
|
+
|
939
|
+
</h3><div class="docstring">
|
940
|
+
<div class="discussion">
|
941
|
+
|
942
|
+
<p>See Test::NetLinx::Compilable.</p>
|
943
|
+
|
944
|
+
|
945
|
+
</div>
|
946
|
+
</div>
|
947
|
+
<div class="tags">
|
948
|
+
|
949
|
+
|
950
|
+
</div><table class="source_code">
|
951
|
+
<tr>
|
952
|
+
<td>
|
953
|
+
<pre class="lines">
|
954
|
+
|
955
|
+
|
956
|
+
72
|
957
|
+
73
|
958
|
+
74</pre>
|
959
|
+
</td>
|
960
|
+
<td>
|
961
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 72</span>
|
962
|
+
|
963
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_compiler_library_paths'>compiler_library_paths</span>
|
964
|
+
<span class='lbracket'>[</span><span class='rbracket'>]</span>
|
965
|
+
<span class='kw'>end</span></pre>
|
966
|
+
</td>
|
967
|
+
</tr>
|
968
|
+
</table>
|
969
|
+
</div>
|
970
|
+
|
971
|
+
<div class="method_details ">
|
972
|
+
<h3 class="signature " id="compiler_module_paths-instance_method">
|
973
|
+
|
974
|
+
- (<tt>Object</tt>) <strong>compiler_module_paths</strong>
|
975
|
+
|
976
|
+
|
977
|
+
|
978
|
+
|
979
|
+
|
980
|
+
</h3><div class="docstring">
|
981
|
+
<div class="discussion">
|
982
|
+
|
983
|
+
<p>See Test::NetLinx::Compilable.</p>
|
984
|
+
|
985
|
+
|
986
|
+
</div>
|
987
|
+
</div>
|
988
|
+
<div class="tags">
|
989
|
+
|
990
|
+
|
991
|
+
</div><table class="source_code">
|
992
|
+
<tr>
|
993
|
+
<td>
|
994
|
+
<pre class="lines">
|
995
|
+
|
996
|
+
|
997
|
+
62
|
998
|
+
63
|
999
|
+
64
|
1000
|
+
65
|
1001
|
+
66
|
1002
|
+
67
|
1003
|
+
68
|
1004
|
+
69</pre>
|
1005
|
+
</td>
|
1006
|
+
<td>
|
1007
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 62</span>
|
1008
|
+
|
1009
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_compiler_module_paths'>compiler_module_paths</span>
|
1010
|
+
<span class='ivar'>@files</span><span class='period'>
|
1011
|
+
</span><span class='id identifier rubyid_ .select'> .select</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Module</span><span class='tstring_end'>'</span></span> <span class='op'>||</span> <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TKO</span><span class='tstring_end'>'</span></span> <span class='op'>||</span> <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>DUET</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='period'>
|
1012
|
+
</span><span class='id identifier rubyid_ .map'> .map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> \
|
1013
|
+
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>\\</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rparen'>)</span><span class='comma'>,</span>
|
1014
|
+
<span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_project'>project</span><span class='period'>.</span><span class='id identifier rubyid_workspace'>workspace</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span>
|
1015
|
+
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_uniq'>uniq</span>
|
1016
|
+
<span class='kw'>end</span></pre>
|
1017
|
+
</td>
|
1018
|
+
</tr>
|
1019
|
+
</table>
|
1020
|
+
</div>
|
1021
|
+
|
1022
|
+
<div class="method_details ">
|
1023
|
+
<h3 class="signature " id="compiler_target_files-instance_method">
|
1024
|
+
|
1025
|
+
- (<tt>Object</tt>) <strong>compiler_target_files</strong>
|
1026
|
+
|
1027
|
+
|
1028
|
+
|
1029
|
+
|
1030
|
+
|
1031
|
+
</h3><div class="docstring">
|
1032
|
+
<div class="discussion">
|
1033
|
+
|
1034
|
+
<p>See Test::NetLinx::Compilable.</p>
|
1035
|
+
|
1036
|
+
|
1037
|
+
</div>
|
1038
|
+
</div>
|
1039
|
+
<div class="tags">
|
1040
|
+
|
1041
|
+
|
1042
|
+
</div><table class="source_code">
|
1043
|
+
<tr>
|
1044
|
+
<td>
|
1045
|
+
<pre class="lines">
|
1046
|
+
|
1047
|
+
|
1048
|
+
42
|
1049
|
+
43
|
1050
|
+
44
|
1051
|
+
45
|
1052
|
+
46
|
1053
|
+
47
|
1054
|
+
48
|
1055
|
+
49</pre>
|
1056
|
+
</td>
|
1057
|
+
<td>
|
1058
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 42</span>
|
1059
|
+
|
1060
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_compiler_target_files'>compiler_target_files</span>
|
1061
|
+
<span class='ivar'>@files</span><span class='period'>
|
1062
|
+
</span><span class='id identifier rubyid_ .select'> .select</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>MasterSrc</span><span class='tstring_end'>'</span></span><span class='rbrace'>}</span><span class='period'>
|
1063
|
+
</span><span class='id identifier rubyid_ .map'> .map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> \
|
1064
|
+
<span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>\\</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='comma'>,</span>
|
1065
|
+
<span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_project'>project</span><span class='period'>.</span><span class='id identifier rubyid_workspace'>workspace</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span>
|
1066
|
+
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_uniq'>uniq</span>
|
1067
|
+
<span class='kw'>end</span></pre>
|
1068
|
+
</td>
|
1069
|
+
</tr>
|
1070
|
+
</table>
|
1071
|
+
</div>
|
1072
|
+
|
1073
|
+
<div class="method_details ">
|
1074
|
+
<h3 class="signature " id="include?-instance_method">
|
1075
|
+
|
1076
|
+
- (<tt>Boolean</tt>) <strong>include?</strong>(file)
|
1077
|
+
|
1078
|
+
|
1079
|
+
|
1080
|
+
|
1081
|
+
|
1082
|
+
</h3><div class="docstring">
|
1083
|
+
<div class="discussion">
|
1084
|
+
|
1085
|
+
<p>Returns true if the project contains the specified file.</p>
|
1086
|
+
|
1087
|
+
|
1088
|
+
</div>
|
1089
|
+
</div>
|
1090
|
+
<div class="tags">
|
1091
|
+
|
1092
|
+
<p class="tag_title">Returns:</p>
|
1093
|
+
<ul class="return">
|
1094
|
+
|
1095
|
+
<li>
|
1096
|
+
|
1097
|
+
|
1098
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1099
|
+
|
1100
|
+
|
1101
|
+
|
1102
|
+
</li>
|
1103
|
+
|
1104
|
+
</ul>
|
1105
|
+
|
1106
|
+
</div><table class="source_code">
|
1107
|
+
<tr>
|
1108
|
+
<td>
|
1109
|
+
<pre class="lines">
|
1110
|
+
|
1111
|
+
|
1112
|
+
77
|
1113
|
+
78
|
1114
|
+
79
|
1115
|
+
80
|
1116
|
+
81
|
1117
|
+
82
|
1118
|
+
83
|
1119
|
+
84
|
1120
|
+
85
|
1121
|
+
86
|
1122
|
+
87
|
1123
|
+
88
|
1124
|
+
89
|
1125
|
+
90
|
1126
|
+
91
|
1127
|
+
92</pre>
|
1128
|
+
</td>
|
1129
|
+
<td>
|
1130
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 77</span>
|
1131
|
+
|
1132
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_file'>file</span><span class='rparen'>)</span>
|
1133
|
+
<span class='id identifier rubyid_included'>included</span> <span class='op'>=</span> <span class='kw'>false</span>
|
530
1134
|
|
531
|
-
<span class=
|
532
|
-
<span class=
|
533
|
-
</div><!-- include-3F-source -->
|
534
|
-
|
535
|
-
</div>
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
</div><!-- include-3F-method -->
|
541
|
-
|
1135
|
+
<span class='ivar'>@files</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_f'>f</span><span class='op'>|</span>
|
1136
|
+
<span class='id identifier rubyid_name_included'>name_included</span> <span class='op'>=</span> <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='period'>.</span><span class='id identifier rubyid_eql?'>eql?</span> <span class='id identifier rubyid_file'>file</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span>
|
542
1137
|
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
<span class="method-name">to_s</span><span
|
547
|
-
class="method-args">()</span>
|
548
|
-
|
549
|
-
<span class="method-click-advice">click to toggle source</span>
|
550
|
-
|
551
|
-
</div>
|
552
|
-
|
553
|
-
|
554
|
-
<div class="method-description">
|
555
|
-
|
556
|
-
<p>Returns the system name.</p>
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
<div class="method-source-code" id="to_s-source">
|
562
|
-
<pre><span class="ruby-comment"># File lib/netlinx/system.rb, line 37</span>
|
563
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
564
|
-
<span class="ruby-ivar">@name</span>
|
565
|
-
<span class="ruby-keyword">end</span></pre>
|
566
|
-
</div><!-- to_s-source -->
|
567
|
-
|
568
|
-
</div>
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
</div><!-- to_s-method -->
|
574
|
-
|
1138
|
+
<span class='comment'># TODO: This should probably be relative to the workspace path,
|
1139
|
+
</span> <span class='comment'># which can be found by traversing @project, @workspace.
|
1140
|
+
</span> <span class='id identifier rubyid_path_included'>path_included</span> <span class='op'>=</span> <span class='id identifier rubyid_file'>file</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\\</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span> <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_gsub'>gsub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\\</span><span class='regexp_end'>/</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
575
1141
|
|
576
|
-
</
|
1142
|
+
<span class='id identifier rubyid_included'>included</span> <span class='op'>=</span> <span class='id identifier rubyid_name_included'>name_included</span> <span class='op'>||</span> <span class='id identifier rubyid_path_included'>path_included</span>
|
1143
|
+
<span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_included'>included</span>
|
1144
|
+
<span class='kw'>end</span>
|
577
1145
|
|
578
|
-
|
579
|
-
|
580
|
-
</
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
<
|
587
|
-
|
588
|
-
|
1146
|
+
<span class='id identifier rubyid_included'>included</span>
|
1147
|
+
<span class='kw'>end</span></pre>
|
1148
|
+
</td>
|
1149
|
+
</tr>
|
1150
|
+
</table>
|
1151
|
+
</div>
|
1152
|
+
|
1153
|
+
<div class="method_details ">
|
1154
|
+
<h3 class="signature " id="to_s-instance_method">
|
1155
|
+
|
1156
|
+
- (<tt>Object</tt>) <strong>to_s</strong>
|
1157
|
+
|
1158
|
+
|
1159
|
+
|
1160
|
+
|
1161
|
+
|
1162
|
+
</h3><div class="docstring">
|
1163
|
+
<div class="discussion">
|
1164
|
+
|
1165
|
+
<p>Returns the system name.</p>
|
1166
|
+
|
1167
|
+
|
1168
|
+
</div>
|
1169
|
+
</div>
|
1170
|
+
<div class="tags">
|
1171
|
+
|
1172
|
+
|
1173
|
+
</div><table class="source_code">
|
1174
|
+
<tr>
|
1175
|
+
<td>
|
1176
|
+
<pre class="lines">
|
1177
|
+
|
1178
|
+
|
1179
|
+
37
|
1180
|
+
38
|
1181
|
+
39</pre>
|
1182
|
+
</td>
|
1183
|
+
<td>
|
1184
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line 37</span>
|
1185
|
+
|
1186
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
1187
|
+
<span class='ivar'>@name</span>
|
1188
|
+
<span class='kw'>end</span></pre>
|
1189
|
+
</td>
|
1190
|
+
</tr>
|
1191
|
+
</table>
|
1192
|
+
</div>
|
1193
|
+
|
1194
|
+
</div>
|
1195
|
+
|
1196
|
+
</div>
|
1197
|
+
|
1198
|
+
<div id="footer">
|
1199
|
+
Generated on Fri May 9 21:30:47 2014 by
|
1200
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1201
|
+
0.8.7.4 (ruby-2.1.1).
|
1202
|
+
</div>
|
1203
|
+
|
1204
|
+
</body>
|
1205
|
+
</html>
|