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/Project.html
CHANGED
@@ -1,464 +1,1104 @@
|
|
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::Project
|
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/Project.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 (P)</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">Project</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::Project
|
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::Project</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/project.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 NeTLinx systems. Workspace -> Project -> System</p>
|
106
|
+
|
107
|
+
|
108
|
+
</div>
|
109
|
+
</div>
|
110
|
+
<div class="tags">
|
111
|
+
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
118
|
+
<ul class="summary">
|
119
|
+
|
120
|
+
<li class="public ">
|
121
|
+
<span class="summary_signature">
|
122
|
+
|
123
|
+
<a href="#dealer-instance_method" title="#dealer (instance method)">- (Object) <strong>dealer</strong> </a>
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
</span>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
<span class="summary_desc"><div class='inline'>
|
141
|
+
<p>Returns the value of attribute dealer.</p>
|
142
|
+
</div></span>
|
143
|
+
|
144
|
+
</li>
|
145
|
+
|
146
|
+
|
147
|
+
<li class="public ">
|
148
|
+
<span class="summary_signature">
|
149
|
+
|
150
|
+
<a href="#description-instance_method" title="#description (instance method)">- (Object) <strong>description</strong> </a>
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
</span>
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
<span class="summary_desc"><div class='inline'>
|
168
|
+
<p>Returns the value of attribute description.</p>
|
169
|
+
</div></span>
|
170
|
+
|
171
|
+
</li>
|
172
|
+
|
173
|
+
|
174
|
+
<li class="public ">
|
175
|
+
<span class="summary_signature">
|
176
|
+
|
177
|
+
<a href="#designer-instance_method" title="#designer (instance method)">- (Object) <strong>designer</strong> </a>
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
</span>
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
<span class="summary_desc"><div class='inline'>
|
195
|
+
<p>Returns the value of attribute designer.</p>
|
196
|
+
</div></span>
|
197
|
+
|
198
|
+
</li>
|
199
|
+
|
200
|
+
|
201
|
+
<li class="public ">
|
202
|
+
<span class="summary_signature">
|
203
|
+
|
204
|
+
<a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
</span>
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
<span class="summary_desc"><div class='inline'>
|
222
|
+
<p>Returns the value of attribute name.</p>
|
223
|
+
</div></span>
|
224
|
+
|
225
|
+
</li>
|
226
|
+
|
227
|
+
|
228
|
+
<li class="public ">
|
229
|
+
<span class="summary_signature">
|
230
|
+
|
231
|
+
<a href="#purchase_order-instance_method" title="#purchase_order (instance method)">- (Object) <strong>purchase_order</strong> </a>
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
</span>
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
<span class="summary_desc"><div class='inline'>
|
249
|
+
<p>Returns the value of attribute purchase_order.</p>
|
250
|
+
</div></span>
|
251
|
+
|
252
|
+
</li>
|
253
|
+
|
254
|
+
|
255
|
+
<li class="public ">
|
256
|
+
<span class="summary_signature">
|
257
|
+
|
258
|
+
<a href="#sales_order-instance_method" title="#sales_order (instance method)">- (Object) <strong>sales_order</strong> </a>
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
</span>
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
<span class="summary_desc"><div class='inline'>
|
276
|
+
<p>Returns the value of attribute sales_order.</p>
|
277
|
+
</div></span>
|
278
|
+
|
279
|
+
</li>
|
280
|
+
|
281
|
+
|
282
|
+
<li class="public ">
|
283
|
+
<span class="summary_signature">
|
284
|
+
|
285
|
+
<a href="#systems-instance_method" title="#systems (instance method)">- (Object) <strong>systems</strong> </a>
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
</span>
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
<span class="summary_desc"><div class='inline'>
|
303
|
+
<p>Returns the value of attribute systems.</p>
|
304
|
+
</div></span>
|
305
|
+
|
306
|
+
</li>
|
307
|
+
|
308
|
+
|
309
|
+
<li class="public ">
|
310
|
+
<span class="summary_signature">
|
311
|
+
|
312
|
+
<a href="#workspace-instance_method" title="#workspace (instance method)">- (Object) <strong>workspace</strong> </a>
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
</span>
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
<span class="summary_desc"><div class='inline'>
|
330
|
+
<p>A reference to the project's parent workspace.</p>
|
331
|
+
</div></span>
|
332
|
+
|
333
|
+
</li>
|
334
|
+
|
335
|
+
|
336
|
+
</ul>
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
<h2>
|
343
|
+
Instance Method Summary
|
344
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
345
|
+
</h2>
|
346
|
+
|
347
|
+
<ul class="summary">
|
348
|
+
|
349
|
+
<li class="public ">
|
350
|
+
<span class="summary_signature">
|
351
|
+
|
352
|
+
<a href="#%3C%3C-instance_method" title="#<< (instance method)">- (Object) <strong><<</strong>(system) </a>
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
</span>
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
<span class="summary_desc"><div class='inline'>
|
367
|
+
<p>Alias to add a system.</p>
|
368
|
+
</div></span>
|
369
|
+
|
370
|
+
</li>
|
371
|
+
|
372
|
+
|
373
|
+
<li class="public ">
|
374
|
+
<span class="summary_signature">
|
375
|
+
|
376
|
+
<a href="#compile-instance_method" title="#compile (instance method)">- (Object) <strong>compile</strong> </a>
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
</span>
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
<span class="summary_desc"><div class='inline'>
|
391
|
+
<p>Compile all systems in this project.</p>
|
392
|
+
</div></span>
|
393
|
+
|
394
|
+
</li>
|
395
|
+
|
396
|
+
|
397
|
+
<li class="public ">
|
398
|
+
<span class="summary_signature">
|
399
|
+
|
400
|
+
<a href="#include%3F-instance_method" title="#include? (instance method)">- (Boolean) <strong>include?</strong>(file) </a>
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
</span>
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
<span class="summary_desc"><div class='inline'>
|
415
|
+
<p>Returns true if the project contains the specified file.</p>
|
416
|
+
</div></span>
|
417
|
+
|
418
|
+
</li>
|
419
|
+
|
420
|
+
|
421
|
+
<li class="public ">
|
422
|
+
<span class="summary_signature">
|
423
|
+
|
424
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Project) <strong>initialize</strong>(**kvargs) </a>
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
</span>
|
429
|
+
|
430
|
+
|
431
|
+
<span class="note title constructor">constructor</span>
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
<span class="summary_desc"><div class='inline'>
|
441
|
+
<p>A new instance of Project.</p>
|
442
|
+
</div></span>
|
443
|
+
|
444
|
+
</li>
|
445
|
+
|
446
|
+
|
447
|
+
<li class="public ">
|
448
|
+
<span class="summary_signature">
|
449
|
+
|
450
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
</span>
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
<span class="summary_desc"><div class='inline'>
|
465
|
+
<p>Returns the project name.</p>
|
466
|
+
</div></span>
|
467
|
+
|
468
|
+
</li>
|
469
|
+
|
470
|
+
|
471
|
+
</ul>
|
472
|
+
|
473
|
+
|
474
|
+
<div id="constructor_details" class="method_details_list">
|
475
|
+
<h2>Constructor Details</h2>
|
476
|
+
|
477
|
+
<div class="method_details first">
|
478
|
+
<h3 class="signature first" id="initialize-instance_method">
|
479
|
+
|
480
|
+
- (<tt><span class='object_link'><a href="" title="NetLinx::Project (class)">Project</a></span></tt>) <strong>initialize</strong>(**kvargs)
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
</h3><div class="docstring">
|
487
|
+
<div class="discussion">
|
488
|
+
|
489
|
+
<p>Returns a new instance of Project</p>
|
490
|
+
|
491
|
+
|
492
|
+
</div>
|
493
|
+
</div>
|
494
|
+
<div class="tags">
|
495
|
+
|
496
|
+
|
497
|
+
</div><table class="source_code">
|
498
|
+
<tr>
|
499
|
+
<td>
|
500
|
+
<pre class="lines">
|
501
|
+
|
502
|
+
|
503
|
+
16
|
504
|
+
17
|
505
|
+
18
|
506
|
+
19
|
507
|
+
20
|
508
|
+
21
|
509
|
+
22
|
510
|
+
23
|
511
|
+
24
|
512
|
+
25
|
513
|
+
26
|
514
|
+
27
|
515
|
+
28
|
516
|
+
29</pre>
|
517
|
+
</td>
|
518
|
+
<td>
|
519
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 16</span>
|
520
|
+
|
521
|
+
<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>
|
522
|
+
<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>
|
523
|
+
<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>
|
524
|
+
<span class='ivar'>@dealer</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'>:dealer</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
525
|
+
<span class='ivar'>@designer</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'>:designer</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
526
|
+
<span class='ivar'>@sales_order</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'>:sales_order</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
527
|
+
<span class='ivar'>@purchase_order</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'>:purchase_order</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
528
|
+
<span class='ivar'>@workspace</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'>:workspace</span><span class='comma'>,</span> <span class='kw'>nil</span>
|
46
529
|
|
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/project.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>
|
530
|
+
<span class='ivar'>@systems</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
63
531
|
|
64
|
-
<
|
532
|
+
<span class='id identifier rubyid_project_element'>project_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>
|
533
|
+
<span class='id identifier rubyid_parse_xml_element'>parse_xml_element</span> <span class='id identifier rubyid_project_element'>project_element</span> <span class='kw'>if</span> <span class='id identifier rubyid_project_element'>project_element</span>
|
534
|
+
<span class='kw'>end</span></pre>
|
535
|
+
</td>
|
536
|
+
</tr>
|
537
|
+
</table>
|
538
|
+
</div>
|
539
|
+
|
540
|
+
</div>
|
541
|
+
|
542
|
+
<div id="instance_attr_details" class="attr_details">
|
543
|
+
<h2>Instance Attribute Details</h2>
|
544
|
+
|
545
|
+
|
546
|
+
<span id="dealer=-instance_method"></span>
|
547
|
+
<div class="method_details first">
|
548
|
+
<h3 class="signature first" id="dealer-instance_method">
|
549
|
+
|
550
|
+
- (<tt>Object</tt>) <strong>dealer</strong>
|
551
|
+
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
|
556
|
+
</h3><div class="docstring">
|
557
|
+
<div class="discussion">
|
558
|
+
|
559
|
+
<p>Returns the value of attribute dealer</p>
|
560
|
+
|
561
|
+
|
562
|
+
</div>
|
563
|
+
</div>
|
564
|
+
<div class="tags">
|
565
|
+
|
566
|
+
|
567
|
+
</div><table class="source_code">
|
568
|
+
<tr>
|
569
|
+
<td>
|
570
|
+
<pre class="lines">
|
571
|
+
|
572
|
+
|
573
|
+
9
|
574
|
+
10
|
575
|
+
11</pre>
|
576
|
+
</td>
|
577
|
+
<td>
|
578
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 9</span>
|
579
|
+
|
580
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_dealer'>dealer</span>
|
581
|
+
<span class='ivar'>@dealer</span>
|
582
|
+
<span class='kw'>end</span></pre>
|
583
|
+
</td>
|
584
|
+
</tr>
|
585
|
+
</table>
|
586
|
+
</div>
|
587
|
+
|
588
|
+
|
589
|
+
<span id="description=-instance_method"></span>
|
590
|
+
<div class="method_details ">
|
591
|
+
<h3 class="signature " id="description-instance_method">
|
592
|
+
|
593
|
+
- (<tt>Object</tt>) <strong>description</strong>
|
594
|
+
|
595
|
+
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
</h3><div class="docstring">
|
600
|
+
<div class="discussion">
|
601
|
+
|
602
|
+
<p>Returns the value of attribute description</p>
|
603
|
+
|
604
|
+
|
605
|
+
</div>
|
606
|
+
</div>
|
607
|
+
<div class="tags">
|
608
|
+
|
609
|
+
|
610
|
+
</div><table class="source_code">
|
611
|
+
<tr>
|
612
|
+
<td>
|
613
|
+
<pre class="lines">
|
614
|
+
|
615
|
+
|
616
|
+
8
|
617
|
+
9
|
618
|
+
10</pre>
|
619
|
+
</td>
|
620
|
+
<td>
|
621
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 8</span>
|
622
|
+
|
623
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
|
624
|
+
<span class='ivar'>@description</span>
|
625
|
+
<span class='kw'>end</span></pre>
|
626
|
+
</td>
|
627
|
+
</tr>
|
628
|
+
</table>
|
629
|
+
</div>
|
630
|
+
|
631
|
+
|
632
|
+
<span id="designer=-instance_method"></span>
|
633
|
+
<div class="method_details ">
|
634
|
+
<h3 class="signature " id="designer-instance_method">
|
635
|
+
|
636
|
+
- (<tt>Object</tt>) <strong>designer</strong>
|
637
|
+
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
|
642
|
+
</h3><div class="docstring">
|
643
|
+
<div class="discussion">
|
644
|
+
|
645
|
+
<p>Returns the value of attribute designer</p>
|
646
|
+
|
647
|
+
|
648
|
+
</div>
|
649
|
+
</div>
|
650
|
+
<div class="tags">
|
651
|
+
|
652
|
+
|
653
|
+
</div><table class="source_code">
|
654
|
+
<tr>
|
655
|
+
<td>
|
656
|
+
<pre class="lines">
|
657
|
+
|
658
|
+
|
659
|
+
10
|
660
|
+
11
|
661
|
+
12</pre>
|
662
|
+
</td>
|
663
|
+
<td>
|
664
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 10</span>
|
665
|
+
|
666
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_designer'>designer</span>
|
667
|
+
<span class='ivar'>@designer</span>
|
668
|
+
<span class='kw'>end</span></pre>
|
669
|
+
</td>
|
670
|
+
</tr>
|
671
|
+
</table>
|
672
|
+
</div>
|
673
|
+
|
674
|
+
|
675
|
+
<span id="name=-instance_method"></span>
|
676
|
+
<div class="method_details ">
|
677
|
+
<h3 class="signature " id="name-instance_method">
|
678
|
+
|
679
|
+
- (<tt>Object</tt>) <strong>name</strong>
|
680
|
+
|
681
|
+
|
682
|
+
|
683
|
+
|
684
|
+
|
685
|
+
</h3><div class="docstring">
|
686
|
+
<div class="discussion">
|
687
|
+
|
688
|
+
<p>Returns the value of attribute name</p>
|
689
|
+
|
690
|
+
|
691
|
+
</div>
|
692
|
+
</div>
|
693
|
+
<div class="tags">
|
694
|
+
|
695
|
+
|
696
|
+
</div><table class="source_code">
|
697
|
+
<tr>
|
698
|
+
<td>
|
699
|
+
<pre class="lines">
|
700
|
+
|
701
|
+
|
702
|
+
7
|
703
|
+
8
|
704
|
+
9</pre>
|
705
|
+
</td>
|
706
|
+
<td>
|
707
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 7</span>
|
708
|
+
|
709
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
710
|
+
<span class='ivar'>@name</span>
|
711
|
+
<span class='kw'>end</span></pre>
|
712
|
+
</td>
|
713
|
+
</tr>
|
714
|
+
</table>
|
715
|
+
</div>
|
716
|
+
|
717
|
+
|
718
|
+
<span id="purchase_order=-instance_method"></span>
|
719
|
+
<div class="method_details ">
|
720
|
+
<h3 class="signature " id="purchase_order-instance_method">
|
721
|
+
|
722
|
+
- (<tt>Object</tt>) <strong>purchase_order</strong>
|
723
|
+
|
724
|
+
|
725
|
+
|
726
|
+
|
727
|
+
|
728
|
+
</h3><div class="docstring">
|
729
|
+
<div class="discussion">
|
730
|
+
|
731
|
+
<p>Returns the value of attribute purchase_order</p>
|
732
|
+
|
733
|
+
|
734
|
+
</div>
|
735
|
+
</div>
|
736
|
+
<div class="tags">
|
737
|
+
|
738
|
+
|
739
|
+
</div><table class="source_code">
|
740
|
+
<tr>
|
741
|
+
<td>
|
742
|
+
<pre class="lines">
|
743
|
+
|
744
|
+
|
745
|
+
12
|
746
|
+
13
|
747
|
+
14</pre>
|
748
|
+
</td>
|
749
|
+
<td>
|
750
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 12</span>
|
751
|
+
|
752
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_purchase_order'>purchase_order</span>
|
753
|
+
<span class='ivar'>@purchase_order</span>
|
754
|
+
<span class='kw'>end</span></pre>
|
755
|
+
</td>
|
756
|
+
</tr>
|
757
|
+
</table>
|
758
|
+
</div>
|
759
|
+
|
760
|
+
|
761
|
+
<span id="sales_order=-instance_method"></span>
|
762
|
+
<div class="method_details ">
|
763
|
+
<h3 class="signature " id="sales_order-instance_method">
|
764
|
+
|
765
|
+
- (<tt>Object</tt>) <strong>sales_order</strong>
|
766
|
+
|
767
|
+
|
768
|
+
|
769
|
+
|
770
|
+
|
771
|
+
</h3><div class="docstring">
|
772
|
+
<div class="discussion">
|
773
|
+
|
774
|
+
<p>Returns the value of attribute sales_order</p>
|
775
|
+
|
776
|
+
|
777
|
+
</div>
|
778
|
+
</div>
|
779
|
+
<div class="tags">
|
780
|
+
|
781
|
+
|
782
|
+
</div><table class="source_code">
|
783
|
+
<tr>
|
784
|
+
<td>
|
785
|
+
<pre class="lines">
|
786
|
+
|
787
|
+
|
788
|
+
11
|
789
|
+
12
|
790
|
+
13</pre>
|
791
|
+
</td>
|
792
|
+
<td>
|
793
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 11</span>
|
794
|
+
|
795
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_sales_order'>sales_order</span>
|
796
|
+
<span class='ivar'>@sales_order</span>
|
797
|
+
<span class='kw'>end</span></pre>
|
798
|
+
</td>
|
799
|
+
</tr>
|
800
|
+
</table>
|
801
|
+
</div>
|
802
|
+
|
803
|
+
|
804
|
+
<span id="systems=-instance_method"></span>
|
805
|
+
<div class="method_details ">
|
806
|
+
<h3 class="signature " id="systems-instance_method">
|
807
|
+
|
808
|
+
- (<tt>Object</tt>) <strong>systems</strong>
|
809
|
+
|
810
|
+
|
811
|
+
|
812
|
+
|
813
|
+
|
814
|
+
</h3><div class="docstring">
|
815
|
+
<div class="discussion">
|
816
|
+
|
817
|
+
<p>Returns the value of attribute systems</p>
|
818
|
+
|
819
|
+
|
820
|
+
</div>
|
821
|
+
</div>
|
822
|
+
<div class="tags">
|
823
|
+
|
824
|
+
|
825
|
+
</div><table class="source_code">
|
826
|
+
<tr>
|
827
|
+
<td>
|
828
|
+
<pre class="lines">
|
829
|
+
|
830
|
+
|
831
|
+
14
|
832
|
+
15
|
833
|
+
16</pre>
|
834
|
+
</td>
|
835
|
+
<td>
|
836
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 14</span>
|
837
|
+
|
838
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_systems'>systems</span>
|
839
|
+
<span class='ivar'>@systems</span>
|
840
|
+
<span class='kw'>end</span></pre>
|
841
|
+
</td>
|
842
|
+
</tr>
|
843
|
+
</table>
|
844
|
+
</div>
|
845
|
+
|
846
|
+
|
847
|
+
<span id="workspace=-instance_method"></span>
|
848
|
+
<div class="method_details ">
|
849
|
+
<h3 class="signature " id="workspace-instance_method">
|
850
|
+
|
851
|
+
- (<tt>Object</tt>) <strong>workspace</strong>
|
852
|
+
|
853
|
+
|
854
|
+
|
855
|
+
|
856
|
+
|
857
|
+
</h3><div class="docstring">
|
858
|
+
<div class="discussion">
|
859
|
+
|
860
|
+
<p>A reference to the project's parent workspace.</p>
|
861
|
+
|
862
|
+
|
863
|
+
</div>
|
864
|
+
</div>
|
865
|
+
<div class="tags">
|
866
|
+
|
867
|
+
|
868
|
+
</div><table class="source_code">
|
869
|
+
<tr>
|
870
|
+
<td>
|
871
|
+
<pre class="lines">
|
872
|
+
|
873
|
+
|
874
|
+
13
|
875
|
+
14
|
876
|
+
15</pre>
|
877
|
+
</td>
|
878
|
+
<td>
|
879
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 13</span>
|
880
|
+
|
881
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_workspace'>workspace</span>
|
882
|
+
<span class='ivar'>@workspace</span>
|
883
|
+
<span class='kw'>end</span></pre>
|
884
|
+
</td>
|
885
|
+
</tr>
|
886
|
+
</table>
|
887
|
+
</div>
|
888
|
+
|
889
|
+
</div>
|
890
|
+
|
891
|
+
|
892
|
+
<div id="instance_method_details" class="method_details_list">
|
893
|
+
<h2>Instance Method Details</h2>
|
894
|
+
|
895
|
+
|
896
|
+
<div class="method_details first">
|
897
|
+
<h3 class="signature first" id="<<-instance_method">
|
898
|
+
|
899
|
+
- (<tt>Object</tt>) <strong><<</strong>(system)
|
900
|
+
|
901
|
+
|
902
|
+
|
903
|
+
|
904
|
+
|
905
|
+
</h3><div class="docstring">
|
906
|
+
<div class="discussion">
|
907
|
+
|
908
|
+
<p>Alias to add a system.</p>
|
909
|
+
|
910
|
+
|
911
|
+
</div>
|
912
|
+
</div>
|
913
|
+
<div class="tags">
|
914
|
+
|
915
|
+
|
916
|
+
</div><table class="source_code">
|
917
|
+
<tr>
|
918
|
+
<td>
|
919
|
+
<pre class="lines">
|
920
|
+
|
921
|
+
|
922
|
+
32
|
923
|
+
33
|
924
|
+
34
|
925
|
+
35</pre>
|
926
|
+
</td>
|
927
|
+
<td>
|
928
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 32</span>
|
929
|
+
|
930
|
+
<span class='kw'>def</span> <span class='op'><<</span><span class='lparen'>(</span><span class='id identifier rubyid_system'>system</span><span class='rparen'>)</span>
|
931
|
+
<span class='ivar'>@systems</span> <span class='op'><<</span> <span class='id identifier rubyid_system'>system</span>
|
932
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_project'>project</span> <span class='op'>=</span> <span class='kw'>self</span>
|
933
|
+
<span class='kw'>end</span></pre>
|
934
|
+
</td>
|
935
|
+
</tr>
|
936
|
+
</table>
|
937
|
+
</div>
|
938
|
+
|
939
|
+
<div class="method_details ">
|
940
|
+
<h3 class="signature " id="compile-instance_method">
|
941
|
+
|
942
|
+
- (<tt>Object</tt>) <strong>compile</strong>
|
943
|
+
|
944
|
+
|
945
|
+
|
946
|
+
|
947
|
+
|
948
|
+
</h3><div class="docstring">
|
949
|
+
<div class="discussion">
|
950
|
+
|
951
|
+
<p>Compile all systems in this project.</p>
|
952
|
+
|
953
|
+
|
954
|
+
</div>
|
955
|
+
</div>
|
956
|
+
<div class="tags">
|
957
|
+
|
958
|
+
|
959
|
+
</div><table class="source_code">
|
960
|
+
<tr>
|
961
|
+
<td>
|
962
|
+
<pre class="lines">
|
963
|
+
|
964
|
+
|
965
|
+
55
|
966
|
+
56
|
967
|
+
57
|
968
|
+
58
|
969
|
+
59</pre>
|
970
|
+
</td>
|
971
|
+
<td>
|
972
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 55</span>
|
973
|
+
|
974
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_compile'>compile</span>
|
975
|
+
<span class='id identifier rubyid_compiler_results'>compiler_results</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
976
|
+
<span class='ivar'>@systems</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_system'>system</span><span class='op'>|</span> <span class='id identifier rubyid_compiler_results'>compiler_results</span> <span class='op'><<</span> <span class='lparen'>(</span><span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_compile'>compile</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rbrace'>}</span>
|
977
|
+
<span class='id identifier rubyid_compiler_results'>compiler_results</span>
|
978
|
+
<span class='kw'>end</span></pre>
|
979
|
+
</td>
|
980
|
+
</tr>
|
981
|
+
</table>
|
982
|
+
</div>
|
983
|
+
|
984
|
+
<div class="method_details ">
|
985
|
+
<h3 class="signature " id="include?-instance_method">
|
986
|
+
|
987
|
+
- (<tt>Boolean</tt>) <strong>include?</strong>(file)
|
988
|
+
|
989
|
+
|
990
|
+
|
991
|
+
|
992
|
+
|
993
|
+
</h3><div class="docstring">
|
994
|
+
<div class="discussion">
|
995
|
+
|
996
|
+
<p>Returns true if the project contains the specified file.</p>
|
997
|
+
|
998
|
+
|
999
|
+
</div>
|
1000
|
+
</div>
|
1001
|
+
<div class="tags">
|
1002
|
+
|
1003
|
+
<p class="tag_title">Returns:</p>
|
1004
|
+
<ul class="return">
|
1005
|
+
|
1006
|
+
<li>
|
1007
|
+
|
1008
|
+
|
1009
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1010
|
+
|
1011
|
+
|
1012
|
+
|
1013
|
+
</li>
|
1014
|
+
|
1015
|
+
</ul>
|
1016
|
+
|
1017
|
+
</div><table class="source_code">
|
1018
|
+
<tr>
|
1019
|
+
<td>
|
1020
|
+
<pre class="lines">
|
1021
|
+
|
1022
|
+
|
1023
|
+
43
|
1024
|
+
44
|
1025
|
+
45
|
1026
|
+
46
|
1027
|
+
47
|
1028
|
+
48
|
1029
|
+
49
|
1030
|
+
50
|
1031
|
+
51
|
1032
|
+
52</pre>
|
1033
|
+
</td>
|
1034
|
+
<td>
|
1035
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 43</span>
|
1036
|
+
|
1037
|
+
<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>
|
1038
|
+
<span class='id identifier rubyid_included'>included</span> <span class='op'>=</span> <span class='kw'>false</span>
|
65
1039
|
|
66
|
-
</
|
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-include-3F">#include?</a>
|
83
|
-
|
84
|
-
<li ><a href="#method-i-to_s">#to_s</a>
|
85
|
-
|
86
|
-
</ul>
|
87
|
-
</nav>
|
88
|
-
|
89
|
-
</div>
|
90
|
-
|
91
|
-
<div id="project-metadata">
|
92
|
-
|
93
|
-
<nav id="classindex-section" class="section project-section">
|
94
|
-
<h3 class="section-header">Class and Module Index</h3>
|
95
|
-
|
96
|
-
<ul class="link-list">
|
1040
|
+
<span class='id identifier rubyid_systems'>systems</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_system'>system</span><span class='op'>|</span>
|
1041
|
+
<span class='id identifier rubyid_included'>included</span> <span class='op'>=</span> <span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span> <span class='id identifier rubyid_file'>file</span>
|
1042
|
+
<span class='kw'>break</span> <span class='kw'>if</span> <span class='id identifier rubyid_included'>included</span>
|
1043
|
+
<span class='kw'>end</span>
|
97
1044
|
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
<
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
</div>
|
159
|
-
|
160
|
-
<div id="attribute-i-description" class="method-detail">
|
161
|
-
<div class="method-heading attribute-method-heading">
|
162
|
-
<span class="method-name">description</span><span
|
163
|
-
class="attribute-access-type">[RW]</span>
|
164
|
-
</div>
|
165
|
-
|
166
|
-
<div class="method-description">
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
</div>
|
171
|
-
</div>
|
172
|
-
|
173
|
-
<div id="attribute-i-designer" class="method-detail">
|
174
|
-
<div class="method-heading attribute-method-heading">
|
175
|
-
<span class="method-name">designer</span><span
|
176
|
-
class="attribute-access-type">[RW]</span>
|
177
|
-
</div>
|
178
|
-
|
179
|
-
<div class="method-description">
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
</div>
|
184
|
-
</div>
|
185
|
-
|
186
|
-
<div id="attribute-i-name" class="method-detail">
|
187
|
-
<div class="method-heading attribute-method-heading">
|
188
|
-
<span class="method-name">name</span><span
|
189
|
-
class="attribute-access-type">[RW]</span>
|
190
|
-
</div>
|
191
|
-
|
192
|
-
<div class="method-description">
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
</div>
|
197
|
-
</div>
|
198
|
-
|
199
|
-
<div id="attribute-i-purchase_order" class="method-detail">
|
200
|
-
<div class="method-heading attribute-method-heading">
|
201
|
-
<span class="method-name">purchase_order</span><span
|
202
|
-
class="attribute-access-type">[RW]</span>
|
203
|
-
</div>
|
204
|
-
|
205
|
-
<div class="method-description">
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
</div>
|
210
|
-
</div>
|
211
|
-
|
212
|
-
<div id="attribute-i-sales_order" class="method-detail">
|
213
|
-
<div class="method-heading attribute-method-heading">
|
214
|
-
<span class="method-name">sales_order</span><span
|
215
|
-
class="attribute-access-type">[RW]</span>
|
216
|
-
</div>
|
217
|
-
|
218
|
-
<div class="method-description">
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
</div>
|
223
|
-
</div>
|
224
|
-
|
225
|
-
<div id="attribute-i-systems" class="method-detail">
|
226
|
-
<div class="method-heading attribute-method-heading">
|
227
|
-
<span class="method-name">systems</span><span
|
228
|
-
class="attribute-access-type">[RW]</span>
|
229
|
-
</div>
|
230
|
-
|
231
|
-
<div class="method-description">
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
</div>
|
236
|
-
</div>
|
237
|
-
|
238
|
-
<div id="attribute-i-workspace" class="method-detail">
|
239
|
-
<div class="method-heading attribute-method-heading">
|
240
|
-
<span class="method-name">workspace</span><span
|
241
|
-
class="attribute-access-type">[RW]</span>
|
242
|
-
</div>
|
243
|
-
|
244
|
-
<div class="method-description">
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
</div>
|
249
|
-
</div>
|
250
|
-
|
251
|
-
</section><!-- attribute-method-details -->
|
252
|
-
|
253
|
-
|
254
|
-
<!-- Methods -->
|
255
|
-
|
256
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
257
|
-
<h3 class="section-header">Public Class Methods</h3>
|
258
|
-
|
259
|
-
|
260
|
-
<div id="method-c-new" class="method-detail ">
|
261
|
-
|
262
|
-
<div class="method-heading">
|
263
|
-
<span class="method-name">new</span><span
|
264
|
-
class="method-args">(**kvargs)</span>
|
265
|
-
|
266
|
-
<span class="method-click-advice">click to toggle source</span>
|
267
|
-
|
268
|
-
</div>
|
269
|
-
|
270
|
-
|
271
|
-
<div class="method-description">
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
<div class="method-source-code" id="new-source">
|
279
|
-
<pre><span class="ruby-comment"># File lib/netlinx/project.rb, line 16</span>
|
280
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">**</span><span class="ruby-identifier">kvargs</span>)
|
281
|
-
<span class="ruby-ivar">@name</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:name</span>, <span class="ruby-string">''</span>
|
282
|
-
<span class="ruby-ivar">@description</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:description</span>, <span class="ruby-string">''</span>
|
283
|
-
<span class="ruby-ivar">@dealer</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:dealer</span>, <span class="ruby-string">''</span>
|
284
|
-
<span class="ruby-ivar">@designer</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:designer</span>, <span class="ruby-string">''</span>
|
285
|
-
<span class="ruby-ivar">@sales_order</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:sales_order</span>, <span class="ruby-string">''</span>
|
286
|
-
<span class="ruby-ivar">@purchase_order</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:purchase_order</span>, <span class="ruby-string">''</span>
|
287
|
-
<span class="ruby-ivar">@workspace</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:workspace</span>, <span class="ruby-keyword">nil</span>
|
288
|
-
|
289
|
-
<span class="ruby-ivar">@systems</span> = []
|
290
|
-
|
291
|
-
<span class="ruby-identifier">project_element</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:element</span>, <span class="ruby-keyword">nil</span>
|
292
|
-
<span class="ruby-identifier">parse_xml_element</span> <span class="ruby-identifier">project_element</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">project_element</span>
|
293
|
-
<span class="ruby-keyword">end</span></pre>
|
294
|
-
</div><!-- new-source -->
|
295
|
-
|
296
|
-
</div>
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
</div><!-- new-method -->
|
302
|
-
|
303
|
-
|
304
|
-
</section><!-- public-class-method-details -->
|
305
|
-
|
306
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
307
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
308
|
-
|
309
|
-
|
310
|
-
<div id="method-i-3C-3C" class="method-detail ">
|
311
|
-
|
312
|
-
<div class="method-heading">
|
313
|
-
<span class="method-name"><<</span><span
|
314
|
-
class="method-args">(system)</span>
|
315
|
-
|
316
|
-
<span class="method-click-advice">click to toggle source</span>
|
317
|
-
|
318
|
-
</div>
|
319
|
-
|
320
|
-
|
321
|
-
<div class="method-description">
|
322
|
-
|
323
|
-
<p>Alias to add a system.</p>
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
<div class="method-source-code" id="3C-3C-source">
|
329
|
-
<pre><span class="ruby-comment"># File lib/netlinx/project.rb, line 32</span>
|
330
|
-
<span class="ruby-keyword">def</span> <span class="ruby-operator"><<</span>(<span class="ruby-identifier">system</span>)
|
331
|
-
<span class="ruby-ivar">@systems</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">system</span>
|
332
|
-
<span class="ruby-identifier">system</span>.<span class="ruby-identifier">project</span> = <span class="ruby-keyword">self</span>
|
333
|
-
<span class="ruby-keyword">end</span></pre>
|
334
|
-
</div><!-- 3C-3C-source -->
|
335
|
-
|
336
|
-
</div>
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
</div><!-- 3C-3C-method -->
|
342
|
-
|
343
|
-
|
344
|
-
<div id="method-i-compile" class="method-detail ">
|
345
|
-
|
346
|
-
<div class="method-heading">
|
347
|
-
<span class="method-name">compile</span><span
|
348
|
-
class="method-args">()</span>
|
349
|
-
|
350
|
-
<span class="method-click-advice">click to toggle source</span>
|
351
|
-
|
352
|
-
</div>
|
353
|
-
|
354
|
-
|
355
|
-
<div class="method-description">
|
356
|
-
|
357
|
-
<p><a href="Compile.html">Compile</a> all systems in this project.</p>
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
<div class="method-source-code" id="compile-source">
|
363
|
-
<pre><span class="ruby-comment"># File lib/netlinx/project.rb, line 55</span>
|
364
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">compile</span>
|
365
|
-
<span class="ruby-identifier">compiler_results</span> = []
|
366
|
-
<span class="ruby-ivar">@systems</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">system</span><span class="ruby-operator">|</span> <span class="ruby-identifier">compiler_results</span> <span class="ruby-operator"><<</span> (<span class="ruby-identifier">system</span>.<span class="ruby-identifier">compile</span>).<span class="ruby-identifier">first</span>}
|
367
|
-
<span class="ruby-identifier">compiler_results</span>
|
368
|
-
<span class="ruby-keyword">end</span></pre>
|
369
|
-
</div><!-- compile-source -->
|
370
|
-
|
371
|
-
</div>
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
</div><!-- compile-method -->
|
377
|
-
|
378
|
-
|
379
|
-
<div id="method-i-include-3F" class="method-detail ">
|
380
|
-
|
381
|
-
<div class="method-heading">
|
382
|
-
<span class="method-name">include?</span><span
|
383
|
-
class="method-args">(file)</span>
|
384
|
-
|
385
|
-
<span class="method-click-advice">click to toggle source</span>
|
386
|
-
|
387
|
-
</div>
|
388
|
-
|
389
|
-
|
390
|
-
<div class="method-description">
|
391
|
-
|
392
|
-
<p>Returns true if the project contains the specified file.</p>
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
<div class="method-source-code" id="include-3F-source">
|
398
|
-
<pre><span class="ruby-comment"># File lib/netlinx/project.rb, line 43</span>
|
399
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">include?</span>(<span class="ruby-identifier">file</span>)
|
400
|
-
<span class="ruby-identifier">included</span> = <span class="ruby-keyword">false</span>
|
401
|
-
|
402
|
-
<span class="ruby-identifier">systems</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">system</span><span class="ruby-operator">|</span>
|
403
|
-
<span class="ruby-identifier">included</span> = <span class="ruby-identifier">system</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">file</span>
|
404
|
-
<span class="ruby-keyword">break</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">included</span>
|
405
|
-
<span class="ruby-keyword">end</span>
|
406
|
-
|
407
|
-
<span class="ruby-identifier">included</span>
|
408
|
-
<span class="ruby-keyword">end</span></pre>
|
409
|
-
</div><!-- include-3F-source -->
|
410
|
-
|
411
|
-
</div>
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
</div><!-- include-3F-method -->
|
417
|
-
|
418
|
-
|
419
|
-
<div id="method-i-to_s" class="method-detail ">
|
420
|
-
|
421
|
-
<div class="method-heading">
|
422
|
-
<span class="method-name">to_s</span><span
|
423
|
-
class="method-args">()</span>
|
424
|
-
|
425
|
-
<span class="method-click-advice">click to toggle source</span>
|
426
|
-
|
427
|
-
</div>
|
428
|
-
|
429
|
-
|
430
|
-
<div class="method-description">
|
431
|
-
|
432
|
-
<p>Returns the project name.</p>
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
<div class="method-source-code" id="to_s-source">
|
438
|
-
<pre><span class="ruby-comment"># File lib/netlinx/project.rb, line 38</span>
|
439
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
440
|
-
<span class="ruby-ivar">@name</span>
|
441
|
-
<span class="ruby-keyword">end</span></pre>
|
442
|
-
</div><!-- to_s-source -->
|
443
|
-
|
444
|
-
</div>
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
</div><!-- to_s-method -->
|
450
|
-
|
451
|
-
|
452
|
-
</section><!-- public-instance-method-details -->
|
453
|
-
|
454
|
-
</section><!-- 5Buntitled-5D -->
|
455
|
-
|
456
|
-
</div><!-- documentation -->
|
457
|
-
|
458
|
-
|
459
|
-
<footer id="validator-badges">
|
460
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
461
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
|
462
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
463
|
-
</footer>
|
464
|
-
|
1045
|
+
<span class='id identifier rubyid_included'>included</span>
|
1046
|
+
<span class='kw'>end</span></pre>
|
1047
|
+
</td>
|
1048
|
+
</tr>
|
1049
|
+
</table>
|
1050
|
+
</div>
|
1051
|
+
|
1052
|
+
<div class="method_details ">
|
1053
|
+
<h3 class="signature " id="to_s-instance_method">
|
1054
|
+
|
1055
|
+
- (<tt>Object</tt>) <strong>to_s</strong>
|
1056
|
+
|
1057
|
+
|
1058
|
+
|
1059
|
+
|
1060
|
+
|
1061
|
+
</h3><div class="docstring">
|
1062
|
+
<div class="discussion">
|
1063
|
+
|
1064
|
+
<p>Returns the project name.</p>
|
1065
|
+
|
1066
|
+
|
1067
|
+
</div>
|
1068
|
+
</div>
|
1069
|
+
<div class="tags">
|
1070
|
+
|
1071
|
+
|
1072
|
+
</div><table class="source_code">
|
1073
|
+
<tr>
|
1074
|
+
<td>
|
1075
|
+
<pre class="lines">
|
1076
|
+
|
1077
|
+
|
1078
|
+
38
|
1079
|
+
39
|
1080
|
+
40</pre>
|
1081
|
+
</td>
|
1082
|
+
<td>
|
1083
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/project.rb', line 38</span>
|
1084
|
+
|
1085
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
1086
|
+
<span class='ivar'>@name</span>
|
1087
|
+
<span class='kw'>end</span></pre>
|
1088
|
+
</td>
|
1089
|
+
</tr>
|
1090
|
+
</table>
|
1091
|
+
</div>
|
1092
|
+
|
1093
|
+
</div>
|
1094
|
+
|
1095
|
+
</div>
|
1096
|
+
|
1097
|
+
<div id="footer">
|
1098
|
+
Generated on Fri May 9 21:30:47 2014 by
|
1099
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1100
|
+
0.8.7.4 (ruby-2.1.1).
|
1101
|
+
</div>
|
1102
|
+
|
1103
|
+
</body>
|
1104
|
+
</html>
|