netlinx-workspace 0.3.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +206 -6
- data/bin/netlinx-workspace +27 -0
- data/doc/NetLinx.html +18 -7
- data/doc/NetLinx/Compile.html +15 -4
- data/doc/NetLinx/Compile/Extension.html +15 -4
- data/doc/NetLinx/Compile/Extension/APW.html +8 -8
- data/doc/NetLinx/Project.html +334 -90
- data/doc/NetLinx/Rake.html +128 -0
- data/doc/NetLinx/Rake/Workspace.html +128 -0
- data/doc/NetLinx/Rake/Workspace/CreateWorkspaceConfig.html +387 -0
- data/doc/NetLinx/Rake/Workspace/GenerateAPW.html +371 -0
- data/doc/NetLinx/System.html +1341 -217
- data/doc/NetLinx/SystemFile.html +454 -51
- data/doc/NetLinx/Workspace.html +434 -69
- data/doc/NetLinx/Workspace/YAML.html +398 -0
- data/doc/_index.html +66 -4
- data/doc/class_list.html +6 -2
- data/doc/file.README.html +218 -10
- data/doc/file.license.html +4 -4
- data/doc/file_list.html +5 -1
- data/doc/frames.html +1 -1
- data/doc/index.html +218 -10
- data/doc/js/full_list.js +4 -1
- data/doc/method_list.html +171 -23
- data/doc/top-level-namespace.html +3 -3
- data/lib/netlinx/compile/extension/apw.rb +3 -0
- data/lib/netlinx/rake/workspace.rb +14 -0
- data/lib/netlinx/rake/workspace/create_workspace_config.rb +49 -0
- data/lib/netlinx/rake/workspace/generate_apw.rb +41 -0
- data/lib/netlinx/workspace.rb +58 -14
- data/lib/netlinx/workspace/project.rb +107 -0
- data/lib/netlinx/workspace/system.rb +226 -0
- data/lib/netlinx/workspace/system_file.rb +98 -0
- data/lib/netlinx/workspace/yaml.rb +217 -0
- data/license.txt +1 -1
- metadata +53 -28
- data/lib/netlinx-workspace.rb +0 -1
- data/lib/netlinx/project.rb +0 -83
- data/lib/netlinx/system.rb +0 -122
- data/lib/netlinx/system_file.rb +0 -36
@@ -0,0 +1,371 @@
|
|
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::Rake::Workspace::GenerateAPW
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.6
|
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/Rake/Workspace/GenerateAPW.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 (G)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../../../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span> » <span class='title'><span class='object_link'><a href="../../Rake.html" title="NetLinx::Rake (module)">Rake</a></span></span> » <span class='title'><span class='object_link'><a href="../Workspace.html" title="NetLinx::Rake::Workspace (module)">Workspace</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">GenerateAPW</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::Rake::Workspace::GenerateAPW
|
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">Rake::TaskLib</span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next">Rake::TaskLib</li>
|
82
|
+
|
83
|
+
<li class="next">NetLinx::Rake::Workspace::GenerateAPW</li>
|
84
|
+
|
85
|
+
</ul>
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
87
|
+
|
88
|
+
</dd>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
99
|
+
<dd class="r2 last">lib/netlinx/rake/workspace/generate_apw.rb</dd>
|
100
|
+
|
101
|
+
</dl>
|
102
|
+
<div class="clear"></div>
|
103
|
+
|
104
|
+
<h2>Overview</h2><div class="docstring">
|
105
|
+
<div class="discussion">
|
106
|
+
|
107
|
+
<p>Generate .apw workspace file from yaml config.</p>
|
108
|
+
|
109
|
+
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
<div class="tags">
|
113
|
+
|
114
|
+
|
115
|
+
</div>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
120
|
+
<ul class="summary">
|
121
|
+
|
122
|
+
<li class="public ">
|
123
|
+
<span class="summary_signature">
|
124
|
+
|
125
|
+
<a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
</span>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
<span class="summary_desc"><div class='inline'>
|
143
|
+
<p>Returns the value of attribute name.</p>
|
144
|
+
</div></span>
|
145
|
+
|
146
|
+
</li>
|
147
|
+
|
148
|
+
|
149
|
+
</ul>
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
<h2>
|
156
|
+
Instance Method Summary
|
157
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
158
|
+
</h2>
|
159
|
+
|
160
|
+
<ul class="summary">
|
161
|
+
|
162
|
+
<li class="public ">
|
163
|
+
<span class="summary_signature">
|
164
|
+
|
165
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (GenerateAPW) <strong>initialize</strong>(name = :generate_apw) {|_self| ... }</a>
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
</span>
|
170
|
+
|
171
|
+
|
172
|
+
<span class="note title constructor">constructor</span>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
<span class="summary_desc"><div class='inline'>
|
182
|
+
<p>A new instance of GenerateAPW.</p>
|
183
|
+
</div></span>
|
184
|
+
|
185
|
+
</li>
|
186
|
+
|
187
|
+
|
188
|
+
</ul>
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
<div id="constructor_details" class="method_details_list">
|
193
|
+
<h2>Constructor Details</h2>
|
194
|
+
|
195
|
+
<div class="method_details first">
|
196
|
+
<h3 class="signature first" id="initialize-instance_method">
|
197
|
+
|
198
|
+
- (<tt><span class='object_link'><a href="" title="NetLinx::Rake::Workspace::GenerateAPW (class)">GenerateAPW</a></span></tt>) <strong>initialize</strong>(name = :generate_apw) {|_self| ... }
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
</h3><div class="docstring">
|
205
|
+
<div class="discussion">
|
206
|
+
|
207
|
+
<p>Returns a new instance of GenerateAPW</p>
|
208
|
+
|
209
|
+
|
210
|
+
</div>
|
211
|
+
</div>
|
212
|
+
<div class="tags">
|
213
|
+
|
214
|
+
<p class="tag_title">Yields:</p>
|
215
|
+
<ul class="yield">
|
216
|
+
|
217
|
+
<li>
|
218
|
+
|
219
|
+
|
220
|
+
<span class='type'>(<tt>_self</tt>)</span>
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
</li>
|
225
|
+
|
226
|
+
</ul>
|
227
|
+
<p class="tag_title">Yield Parameters:</p>
|
228
|
+
<ul class="yieldparam">
|
229
|
+
|
230
|
+
<li>
|
231
|
+
|
232
|
+
<span class='name'>_self</span>
|
233
|
+
|
234
|
+
|
235
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="NetLinx::Rake::Workspace::GenerateAPW (class)">NetLinx::Rake::Workspace::GenerateAPW</a></span></tt>)</span>
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
—
|
240
|
+
<div class='inline'>
|
241
|
+
<p>the object that the method was called on</p>
|
242
|
+
</div>
|
243
|
+
|
244
|
+
</li>
|
245
|
+
|
246
|
+
</ul>
|
247
|
+
|
248
|
+
</div><table class="source_code">
|
249
|
+
<tr>
|
250
|
+
<td>
|
251
|
+
<pre class="lines">
|
252
|
+
|
253
|
+
|
254
|
+
13
|
255
|
+
14
|
256
|
+
15
|
257
|
+
16
|
258
|
+
17
|
259
|
+
18
|
260
|
+
19
|
261
|
+
20
|
262
|
+
21
|
263
|
+
22
|
264
|
+
23
|
265
|
+
24
|
266
|
+
25
|
267
|
+
26
|
268
|
+
27
|
269
|
+
28
|
270
|
+
29
|
271
|
+
30
|
272
|
+
31
|
273
|
+
32
|
274
|
+
33
|
275
|
+
34
|
276
|
+
35
|
277
|
+
36</pre>
|
278
|
+
</td>
|
279
|
+
<td>
|
280
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/rake/workspace/generate_apw.rb', line 13</span>
|
281
|
+
|
282
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='symbol'>:generate_apw</span>
|
283
|
+
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span>
|
284
|
+
<span class='kw'>yield</span> <span class='kw'>self</span> <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
285
|
+
|
286
|
+
<span class='id identifier rubyid_desc'>desc</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Generate .apw workspace file from yaml config.</span><span class='tstring_end'>"</span></span>
|
287
|
+
|
288
|
+
<span class='id identifier rubyid_task'>task</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
289
|
+
<span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>netlinx/workspace</span><span class='tstring_end'>'</span></span>
|
290
|
+
|
291
|
+
<span class='id identifier rubyid_workspace_file'>workspace_file</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>workspace.config.yaml</span><span class='tstring_end'>'</span></span>
|
292
|
+
|
293
|
+
<span class='kw'>unless</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exists?'>exists?</span> <span class='id identifier rubyid_workspace_file'>workspace_file</span>
|
294
|
+
<span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>File not found: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_workspace_file'>workspace_file</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
295
|
+
<span class='kw'>next</span>
|
296
|
+
<span class='kw'>end</span>
|
297
|
+
|
298
|
+
<span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>Workspace</span><span class='op'>::</span><span class='const'>YAML</span><span class='period'>.</span><span class='id identifier rubyid_parse_file'>parse_file</span><span class='lparen'>(</span><span class='id identifier rubyid_workspace_file'>workspace_file</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_workspace'>workspace</span><span class='op'>|</span>
|
299
|
+
<span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_workspace'>workspace</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span>
|
300
|
+
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_workspace'>workspace</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span><span class='embexpr_end'>}</span><span class='tstring_content'>.apw</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>w</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span>
|
301
|
+
<span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span> <span class='id identifier rubyid_workspace'>workspace</span><span class='period'>.</span><span class='id identifier rubyid_to_xml'>to_xml</span>
|
302
|
+
<span class='kw'>end</span>
|
303
|
+
<span class='kw'>end</span>
|
304
|
+
<span class='kw'>end</span>
|
305
|
+
<span class='kw'>end</span></pre>
|
306
|
+
</td>
|
307
|
+
</tr>
|
308
|
+
</table>
|
309
|
+
</div>
|
310
|
+
|
311
|
+
</div>
|
312
|
+
|
313
|
+
<div id="instance_attr_details" class="attr_details">
|
314
|
+
<h2>Instance Attribute Details</h2>
|
315
|
+
|
316
|
+
|
317
|
+
<span id="name=-instance_method"></span>
|
318
|
+
<div class="method_details first">
|
319
|
+
<h3 class="signature first" id="name-instance_method">
|
320
|
+
|
321
|
+
- (<tt>Object</tt>) <strong>name</strong>
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
</h3><div class="docstring">
|
328
|
+
<div class="discussion">
|
329
|
+
|
330
|
+
<p>Returns the value of attribute name</p>
|
331
|
+
|
332
|
+
|
333
|
+
</div>
|
334
|
+
</div>
|
335
|
+
<div class="tags">
|
336
|
+
|
337
|
+
|
338
|
+
</div><table class="source_code">
|
339
|
+
<tr>
|
340
|
+
<td>
|
341
|
+
<pre class="lines">
|
342
|
+
|
343
|
+
|
344
|
+
11
|
345
|
+
12
|
346
|
+
13</pre>
|
347
|
+
</td>
|
348
|
+
<td>
|
349
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/rake/workspace/generate_apw.rb', line 11</span>
|
350
|
+
|
351
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
352
|
+
<span class='ivar'>@name</span>
|
353
|
+
<span class='kw'>end</span></pre>
|
354
|
+
</td>
|
355
|
+
</tr>
|
356
|
+
</table>
|
357
|
+
</div>
|
358
|
+
|
359
|
+
</div>
|
360
|
+
|
361
|
+
|
362
|
+
</div>
|
363
|
+
|
364
|
+
<div id="footer">
|
365
|
+
Generated on Tue Feb 24 17:43:03 2015 by
|
366
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
367
|
+
0.8.7.6 (ruby-2.1.3).
|
368
|
+
</div>
|
369
|
+
|
370
|
+
</body>
|
371
|
+
</html>
|
data/doc/NetLinx/System.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: NetLinx::System
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -94,7 +94,7 @@
|
|
94
94
|
|
95
95
|
|
96
96
|
<dt class="r2 last">Defined in:</dt>
|
97
|
-
<dd class="r2 last">lib/netlinx/system.rb</dd>
|
97
|
+
<dd class="r2 last">lib/netlinx/workspace/system.rb</dd>
|
98
98
|
|
99
99
|
</dl>
|
100
100
|
<div class="clear"></div>
|
@@ -118,6 +118,114 @@ Project -> System</p>
|
|
118
118
|
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
119
119
|
<ul class="summary">
|
120
120
|
|
121
|
+
<li class="public ">
|
122
|
+
<span class="summary_signature">
|
123
|
+
|
124
|
+
<a href="#active-instance_method" title="#active (instance method)">- (Object) <strong>active</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 active.</p>
|
143
|
+
</div></span>
|
144
|
+
|
145
|
+
</li>
|
146
|
+
|
147
|
+
|
148
|
+
<li class="public ">
|
149
|
+
<span class="summary_signature">
|
150
|
+
|
151
|
+
<a href="#baud_rate-instance_method" title="#baud_rate (instance method)">- (Object) <strong>baud_rate</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 baud_rate.</p>
|
170
|
+
</div></span>
|
171
|
+
|
172
|
+
</li>
|
173
|
+
|
174
|
+
|
175
|
+
<li class="public ">
|
176
|
+
<span class="summary_signature">
|
177
|
+
|
178
|
+
<a href="#com_port-instance_method" title="#com_port (instance method)">- (Object) <strong>com_port</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 com_port.</p>
|
197
|
+
</div></span>
|
198
|
+
|
199
|
+
</li>
|
200
|
+
|
201
|
+
|
202
|
+
<li class="public ">
|
203
|
+
<span class="summary_signature">
|
204
|
+
|
205
|
+
<a href="#data_bits-instance_method" title="#data_bits (instance method)">- (Object) <strong>data_bits</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 data_bits.</p>
|
224
|
+
</div></span>
|
225
|
+
|
226
|
+
</li>
|
227
|
+
|
228
|
+
|
121
229
|
<li class="public ">
|
122
230
|
<span class="summary_signature">
|
123
231
|
|
@@ -142,6 +250,33 @@ Project -> System</p>
|
|
142
250
|
<p>Returns the value of attribute description.</p>
|
143
251
|
</div></span>
|
144
252
|
|
253
|
+
</li>
|
254
|
+
|
255
|
+
|
256
|
+
<li class="public ">
|
257
|
+
<span class="summary_signature">
|
258
|
+
|
259
|
+
<a href="#ensure_availability-instance_method" title="#ensure_availability (instance method)">- (Object) <strong>ensure_availability</strong> </a>
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
</span>
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
<span class="summary_desc"><div class='inline'>
|
277
|
+
<p>Returns the value of attribute ensure_availability.</p>
|
278
|
+
</div></span>
|
279
|
+
|
145
280
|
</li>
|
146
281
|
|
147
282
|
|
@@ -175,7 +310,7 @@ Project -> System</p>
|
|
175
310
|
<li class="public ">
|
176
311
|
<span class="summary_signature">
|
177
312
|
|
178
|
-
<a href="#
|
313
|
+
<a href="#flow_control-instance_method" title="#flow_control (instance method)">- (Object) <strong>flow_control</strong> </a>
|
179
314
|
|
180
315
|
|
181
316
|
|
@@ -193,7 +328,7 @@ Project -> System</p>
|
|
193
328
|
|
194
329
|
|
195
330
|
<span class="summary_desc"><div class='inline'>
|
196
|
-
<p>Returns the value of attribute
|
331
|
+
<p>Returns the value of attribute flow_control.</p>
|
197
332
|
</div></span>
|
198
333
|
|
199
334
|
</li>
|
@@ -202,7 +337,7 @@ Project -> System</p>
|
|
202
337
|
<li class="public ">
|
203
338
|
<span class="summary_signature">
|
204
339
|
|
205
|
-
<a href="#
|
340
|
+
<a href="#id-instance_method" title="#id (instance method)">- (Object) <strong>id</strong> </a>
|
206
341
|
|
207
342
|
|
208
343
|
|
@@ -220,7 +355,7 @@ Project -> System</p>
|
|
220
355
|
|
221
356
|
|
222
357
|
<span class="summary_desc"><div class='inline'>
|
223
|
-
<p>Returns the value of attribute
|
358
|
+
<p>Returns the value of attribute id.</p>
|
224
359
|
</div></span>
|
225
360
|
|
226
361
|
</li>
|
@@ -229,7 +364,7 @@ Project -> System</p>
|
|
229
364
|
<li class="public ">
|
230
365
|
<span class="summary_signature">
|
231
366
|
|
232
|
-
<a href="#
|
367
|
+
<a href="#ip_address-instance_method" title="#ip_address (instance method)">- (Object) <strong>ip_address</strong> </a>
|
233
368
|
|
234
369
|
|
235
370
|
|
@@ -247,29 +382,70 @@ Project -> System</p>
|
|
247
382
|
|
248
383
|
|
249
384
|
<span class="summary_desc"><div class='inline'>
|
250
|
-
<p>
|
385
|
+
<p>Returns the value of attribute ip_address.</p>
|
251
386
|
</div></span>
|
252
387
|
|
253
388
|
</li>
|
254
389
|
|
255
390
|
|
256
|
-
|
391
|
+
<li class="public ">
|
392
|
+
<span class="summary_signature">
|
393
|
+
|
394
|
+
<a href="#ip_port-instance_method" title="#ip_port (instance method)">- (Object) <strong>ip_port</strong> </a>
|
395
|
+
|
396
|
+
|
397
|
+
|
398
|
+
</span>
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
|
257
409
|
|
410
|
+
|
411
|
+
<span class="summary_desc"><div class='inline'>
|
412
|
+
<p>Returns the value of attribute ip_port.</p>
|
413
|
+
</div></span>
|
414
|
+
|
415
|
+
</li>
|
258
416
|
|
417
|
+
|
418
|
+
<li class="public ">
|
419
|
+
<span class="summary_signature">
|
420
|
+
|
421
|
+
<a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
|
422
|
+
|
259
423
|
|
424
|
+
|
425
|
+
</span>
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
260
436
|
|
261
437
|
|
262
|
-
<
|
263
|
-
|
264
|
-
|
265
|
-
|
438
|
+
<span class="summary_desc"><div class='inline'>
|
439
|
+
<p>Returns the value of attribute name.</p>
|
440
|
+
</div></span>
|
441
|
+
|
442
|
+
</li>
|
266
443
|
|
267
|
-
|
268
|
-
|
269
|
-
<li class="public ">
|
444
|
+
|
445
|
+
<li class="public ">
|
270
446
|
<span class="summary_signature">
|
271
447
|
|
272
|
-
<a href="
|
448
|
+
<a href="#parity-instance_method" title="#parity (instance method)">- (Object) <strong>parity</strong> </a>
|
273
449
|
|
274
450
|
|
275
451
|
|
@@ -277,6 +453,9 @@ Project -> System</p>
|
|
277
453
|
|
278
454
|
|
279
455
|
|
456
|
+
|
457
|
+
|
458
|
+
|
280
459
|
|
281
460
|
|
282
461
|
|
@@ -284,16 +463,16 @@ Project -> System</p>
|
|
284
463
|
|
285
464
|
|
286
465
|
<span class="summary_desc"><div class='inline'>
|
287
|
-
<p>
|
466
|
+
<p>Returns the value of attribute parity.</p>
|
288
467
|
</div></span>
|
289
468
|
|
290
469
|
</li>
|
291
470
|
|
292
|
-
|
293
|
-
|
471
|
+
|
472
|
+
<li class="public ">
|
294
473
|
<span class="summary_signature">
|
295
474
|
|
296
|
-
<a href="#
|
475
|
+
<a href="#project-instance_method" title="#project (instance method)">- (Object) <strong>project</strong> </a>
|
297
476
|
|
298
477
|
|
299
478
|
|
@@ -301,6 +480,9 @@ Project -> System</p>
|
|
301
480
|
|
302
481
|
|
303
482
|
|
483
|
+
|
484
|
+
|
485
|
+
|
304
486
|
|
305
487
|
|
306
488
|
|
@@ -308,16 +490,16 @@ Project -> System</p>
|
|
308
490
|
|
309
491
|
|
310
492
|
<span class="summary_desc"><div class='inline'>
|
311
|
-
<p>
|
493
|
+
<p>A reference to the system's parent project.</p>
|
312
494
|
</div></span>
|
313
495
|
|
314
496
|
</li>
|
315
497
|
|
316
|
-
|
317
|
-
|
498
|
+
|
499
|
+
<li class="public ">
|
318
500
|
<span class="summary_signature">
|
319
501
|
|
320
|
-
<a href="#
|
502
|
+
<a href="#stop_bits-instance_method" title="#stop_bits (instance method)">- (Object) <strong>stop_bits</strong> </a>
|
321
503
|
|
322
504
|
|
323
505
|
|
@@ -325,6 +507,9 @@ Project -> System</p>
|
|
325
507
|
|
326
508
|
|
327
509
|
|
510
|
+
|
511
|
+
|
512
|
+
|
328
513
|
|
329
514
|
|
330
515
|
|
@@ -332,16 +517,29 @@ Project -> System</p>
|
|
332
517
|
|
333
518
|
|
334
519
|
<span class="summary_desc"><div class='inline'>
|
335
|
-
<p>
|
520
|
+
<p>Returns the value of attribute stop_bits.</p>
|
336
521
|
</div></span>
|
337
522
|
|
338
523
|
</li>
|
339
524
|
|
525
|
+
|
526
|
+
</ul>
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
<h2>
|
533
|
+
Instance Method Summary
|
534
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
535
|
+
</h2>
|
536
|
+
|
537
|
+
<ul class="summary">
|
340
538
|
|
341
539
|
<li class="public ">
|
342
540
|
<span class="summary_signature">
|
343
541
|
|
344
|
-
<a href="
|
542
|
+
<a href="#%3C%3C-instance_method" title="#<< (instance method)">- (Object) <strong><<</strong>(file) </a>
|
345
543
|
|
346
544
|
|
347
545
|
|
@@ -356,7 +554,7 @@ Project -> System</p>
|
|
356
554
|
|
357
555
|
|
358
556
|
<span class="summary_desc"><div class='inline'>
|
359
|
-
<p>
|
557
|
+
<p>Alias to add a file.</p>
|
360
558
|
</div></span>
|
361
559
|
|
362
560
|
</li>
|
@@ -365,7 +563,7 @@ Project -> System</p>
|
|
365
563
|
<li class="public ">
|
366
564
|
<span class="summary_signature">
|
367
565
|
|
368
|
-
<a href="#
|
566
|
+
<a href="#compile-instance_method" title="#compile (instance method)">- (Object) <strong>compile</strong> </a>
|
369
567
|
|
370
568
|
|
371
569
|
|
@@ -380,7 +578,7 @@ Project -> System</p>
|
|
380
578
|
|
381
579
|
|
382
580
|
<span class="summary_desc"><div class='inline'>
|
383
|
-
<p>
|
581
|
+
<p>Compile this system.</p>
|
384
582
|
</div></span>
|
385
583
|
|
386
584
|
</li>
|
@@ -389,7 +587,7 @@ Project -> System</p>
|
|
389
587
|
<li class="public ">
|
390
588
|
<span class="summary_signature">
|
391
589
|
|
392
|
-
<a href="#
|
590
|
+
<a href="#compiler_include_paths-instance_method" title="#compiler_include_paths (instance method)">- (Object) <strong>compiler_include_paths</strong> </a>
|
393
591
|
|
394
592
|
|
395
593
|
|
@@ -403,9 +601,7 @@ Project -> System</p>
|
|
403
601
|
|
404
602
|
|
405
603
|
|
406
|
-
<span class="summary_desc"><div class='inline'>
|
407
|
-
<p>See Test::NetLinx::Compilable.</p>
|
408
|
-
</div></span>
|
604
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
409
605
|
|
410
606
|
</li>
|
411
607
|
|
@@ -413,7 +609,7 @@ Project -> System</p>
|
|
413
609
|
<li class="public ">
|
414
610
|
<span class="summary_signature">
|
415
611
|
|
416
|
-
<a href="#
|
612
|
+
<a href="#compiler_library_paths-instance_method" title="#compiler_library_paths (instance method)">- (Object) <strong>compiler_library_paths</strong> </a>
|
417
613
|
|
418
614
|
|
419
615
|
|
@@ -427,9 +623,7 @@ Project -> System</p>
|
|
427
623
|
|
428
624
|
|
429
625
|
|
430
|
-
<span class="summary_desc"><div class='inline'>
|
431
|
-
<p>Returns true if the project contains the specified file.</p>
|
432
|
-
</div></span>
|
626
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
433
627
|
|
434
628
|
</li>
|
435
629
|
|
@@ -437,15 +631,13 @@ Project -> System</p>
|
|
437
631
|
<li class="public ">
|
438
632
|
<span class="summary_signature">
|
439
633
|
|
440
|
-
<a href="#
|
634
|
+
<a href="#compiler_module_paths-instance_method" title="#compiler_module_paths (instance method)">- (Object) <strong>compiler_module_paths</strong> </a>
|
441
635
|
|
442
636
|
|
443
637
|
|
444
638
|
</span>
|
445
639
|
|
446
640
|
|
447
|
-
<span class="note title constructor">constructor</span>
|
448
|
-
|
449
641
|
|
450
642
|
|
451
643
|
|
@@ -453,9 +645,7 @@ Project -> System</p>
|
|
453
645
|
|
454
646
|
|
455
647
|
|
456
|
-
<span class="summary_desc"><div class='inline'>
|
457
|
-
<p>A new instance of System.</p>
|
458
|
-
</div></span>
|
648
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
459
649
|
|
460
650
|
</li>
|
461
651
|
|
@@ -463,7 +653,7 @@ Project -> System</p>
|
|
463
653
|
<li class="public ">
|
464
654
|
<span class="summary_signature">
|
465
655
|
|
466
|
-
<a href="#
|
656
|
+
<a href="#compiler_target_files-instance_method" title="#compiler_target_files (instance method)">- (Object) <strong>compiler_target_files</strong> </a>
|
467
657
|
|
468
658
|
|
469
659
|
|
@@ -477,23 +667,783 @@ Project -> System</p>
|
|
477
667
|
|
478
668
|
|
479
669
|
|
480
|
-
<span class="summary_desc"><div class='inline'>
|
481
|
-
<p>Returns the system name.</p>
|
482
|
-
</div></span>
|
670
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
483
671
|
|
484
672
|
</li>
|
485
673
|
|
486
674
|
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
<
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
675
|
+
<li class="public ">
|
676
|
+
<span class="summary_signature">
|
677
|
+
|
678
|
+
<a href="#include%3F-instance_method" title="#include? (instance method)">- (Boolean) <strong>include?</strong>(file) </a>
|
679
|
+
|
680
|
+
|
681
|
+
|
682
|
+
</span>
|
683
|
+
|
684
|
+
|
685
|
+
|
686
|
+
|
687
|
+
|
688
|
+
|
689
|
+
|
690
|
+
|
691
|
+
|
692
|
+
<span class="summary_desc"><div class='inline'>
|
693
|
+
<p>True if the project contains the specified file.</p>
|
694
|
+
</div></span>
|
695
|
+
|
696
|
+
</li>
|
697
|
+
|
698
|
+
|
699
|
+
<li class="public ">
|
700
|
+
<span class="summary_signature">
|
701
|
+
|
702
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (System) <strong>initialize</strong>(**kwargs) </a>
|
703
|
+
|
704
|
+
|
705
|
+
|
706
|
+
</span>
|
707
|
+
|
708
|
+
|
709
|
+
<span class="note title constructor">constructor</span>
|
710
|
+
|
711
|
+
|
712
|
+
|
713
|
+
|
714
|
+
|
715
|
+
|
716
|
+
|
717
|
+
|
718
|
+
<span class="summary_desc"><div class='inline'>
|
719
|
+
<p>A new instance of System.</p>
|
720
|
+
</div></span>
|
721
|
+
|
722
|
+
</li>
|
723
|
+
|
724
|
+
|
725
|
+
<li class="public ">
|
726
|
+
<span class="summary_signature">
|
727
|
+
|
728
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
|
729
|
+
|
730
|
+
|
731
|
+
|
732
|
+
</span>
|
733
|
+
|
734
|
+
|
735
|
+
|
736
|
+
|
737
|
+
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
|
742
|
+
<span class="summary_desc"><div class='inline'>
|
743
|
+
<p>The system name.</p>
|
744
|
+
</div></span>
|
745
|
+
|
746
|
+
</li>
|
747
|
+
|
748
|
+
|
749
|
+
<li class="public ">
|
750
|
+
<span class="summary_signature">
|
751
|
+
|
752
|
+
<a href="#to_xml_element-instance_method" title="#to_xml_element (instance method)">- (REXML::Element) <strong>to_xml_element</strong> </a>
|
753
|
+
|
754
|
+
|
755
|
+
|
756
|
+
</span>
|
757
|
+
|
758
|
+
|
759
|
+
|
760
|
+
|
761
|
+
|
762
|
+
|
763
|
+
|
764
|
+
|
765
|
+
|
766
|
+
<span class="summary_desc"><div class='inline'>
|
767
|
+
<p>An XML element representing this system.</p>
|
768
|
+
</div></span>
|
769
|
+
|
770
|
+
</li>
|
771
|
+
|
772
|
+
|
773
|
+
</ul>
|
774
|
+
|
775
|
+
|
776
|
+
<div id="constructor_details" class="method_details_list">
|
777
|
+
<h2>Constructor Details</h2>
|
778
|
+
|
779
|
+
<div class="method_details first">
|
780
|
+
<h3 class="signature first" id="initialize-instance_method">
|
781
|
+
|
782
|
+
- (<tt><span class='object_link'><a href="" title="NetLinx::System (class)">System</a></span></tt>) <strong>initialize</strong>(**kwargs)
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
|
787
|
+
|
788
|
+
</h3><div class="docstring">
|
789
|
+
<div class="discussion">
|
790
|
+
|
791
|
+
<p>Returns a new instance of System</p>
|
792
|
+
|
793
|
+
|
794
|
+
</div>
|
795
|
+
</div>
|
796
|
+
<div class="tags">
|
797
|
+
<p class="tag_title">Parameters:</p>
|
798
|
+
<ul class="param">
|
799
|
+
|
800
|
+
<li>
|
801
|
+
|
802
|
+
<span class='name'>kwargs</span>
|
803
|
+
|
804
|
+
|
805
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
806
|
+
|
807
|
+
|
808
|
+
|
809
|
+
—
|
810
|
+
<div class='inline'>
|
811
|
+
<p>a customizable set of options</p>
|
812
|
+
</div>
|
813
|
+
|
814
|
+
</li>
|
815
|
+
|
816
|
+
</ul>
|
817
|
+
|
818
|
+
|
819
|
+
|
820
|
+
|
821
|
+
<p class="tag_title">Options Hash (<tt>**kwargs</tt>):</p>
|
822
|
+
<ul class="option">
|
823
|
+
|
824
|
+
<li>
|
825
|
+
<span class="name">:project</span>
|
826
|
+
<span class="type">(<tt><span class='object_link'><a href="Project.html" title="NetLinx::Project (class)">NetLinx::Project</a></span></tt>)</span>
|
827
|
+
<span class="default">
|
828
|
+
|
829
|
+
</span>
|
830
|
+
|
831
|
+
— <div class='inline'>
|
832
|
+
<p>This system's parent project node.</p>
|
833
|
+
</div>
|
834
|
+
|
835
|
+
</li>
|
836
|
+
|
837
|
+
<li>
|
838
|
+
<span class="name">:name</span>
|
839
|
+
<span class="type">(<tt>String</tt>)</span>
|
840
|
+
<span class="default">
|
841
|
+
|
842
|
+
— default:
|
843
|
+
<tt>''</tt>
|
844
|
+
|
845
|
+
</span>
|
846
|
+
|
847
|
+
— <div class='inline'>
|
848
|
+
<p>System name.</p>
|
849
|
+
</div>
|
850
|
+
|
851
|
+
</li>
|
852
|
+
|
853
|
+
<li>
|
854
|
+
<span class="name">:description</span>
|
855
|
+
<span class="type">(<tt>String</tt>)</span>
|
856
|
+
<span class="default">
|
857
|
+
|
858
|
+
— default:
|
859
|
+
<tt>''</tt>
|
860
|
+
|
861
|
+
</span>
|
862
|
+
|
863
|
+
</li>
|
864
|
+
|
865
|
+
<li>
|
866
|
+
<span class="name">:active</span>
|
867
|
+
<span class="type">(<tt>Boolean</tt>)</span>
|
868
|
+
<span class="default">
|
869
|
+
|
870
|
+
— default:
|
871
|
+
<tt>false</tt>
|
872
|
+
|
873
|
+
</span>
|
874
|
+
|
875
|
+
— <div class='inline'>
|
876
|
+
<p>True if this is the active system in the workspace.</p>
|
877
|
+
</div>
|
878
|
+
|
879
|
+
</li>
|
880
|
+
|
881
|
+
<li>
|
882
|
+
<span class="name">:id</span>
|
883
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
884
|
+
<span class="default">
|
885
|
+
|
886
|
+
— default:
|
887
|
+
<tt>0</tt>
|
888
|
+
|
889
|
+
</span>
|
890
|
+
|
891
|
+
— <div class='inline'>
|
892
|
+
<p>Master controller system ID. 0 connects to any master at the given
|
893
|
+
communication settings. Or in other words, 0 prevents disconnection from a
|
894
|
+
master with a different ID.</p>
|
895
|
+
</div>
|
896
|
+
|
897
|
+
</li>
|
898
|
+
|
899
|
+
<li>
|
900
|
+
<span class="name">:ip_address</span>
|
901
|
+
<span class="type">(<tt>String</tt>)</span>
|
902
|
+
<span class="default">
|
903
|
+
|
904
|
+
— default:
|
905
|
+
<tt>'0.0.0.0'</tt>
|
906
|
+
|
907
|
+
</span>
|
908
|
+
|
909
|
+
</li>
|
910
|
+
|
911
|
+
<li>
|
912
|
+
<span class="name">:ip_port</span>
|
913
|
+
<span class="type">(<tt>String</tt>)</span>
|
914
|
+
<span class="default">
|
915
|
+
|
916
|
+
— default:
|
917
|
+
<tt>1319</tt>
|
918
|
+
|
919
|
+
</span>
|
920
|
+
|
921
|
+
— <div class='inline'>
|
922
|
+
<p>ICSLan port.</p>
|
923
|
+
</div>
|
924
|
+
|
925
|
+
</li>
|
926
|
+
|
927
|
+
<li>
|
928
|
+
<span class="name">:ensure_availability</span>
|
929
|
+
<span class="type">(<tt>String</tt>)</span>
|
930
|
+
<span class="default">
|
931
|
+
|
932
|
+
— default:
|
933
|
+
<tt>true</tt>
|
934
|
+
|
935
|
+
</span>
|
936
|
+
|
937
|
+
— <div class='inline'>
|
938
|
+
<p>Ping the master controller to ensure availability before connecting.</p>
|
939
|
+
</div>
|
940
|
+
|
941
|
+
</li>
|
942
|
+
|
943
|
+
<li>
|
944
|
+
<span class="name">:com_port</span>
|
945
|
+
<span class="type">(<tt>Symbol</tt>)</span>
|
946
|
+
<span class="default">
|
947
|
+
|
948
|
+
— default:
|
949
|
+
<tt>:com1</tt>
|
950
|
+
|
951
|
+
</span>
|
952
|
+
|
953
|
+
</li>
|
954
|
+
|
955
|
+
<li>
|
956
|
+
<span class="name">:baud_rate</span>
|
957
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
958
|
+
<span class="default">
|
959
|
+
|
960
|
+
— default:
|
961
|
+
<tt>38400</tt>
|
962
|
+
|
963
|
+
</span>
|
964
|
+
|
965
|
+
</li>
|
966
|
+
|
967
|
+
<li>
|
968
|
+
<span class="name">:data_bits</span>
|
969
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
970
|
+
<span class="default">
|
971
|
+
|
972
|
+
— default:
|
973
|
+
<tt>8</tt>
|
974
|
+
|
975
|
+
</span>
|
976
|
+
|
977
|
+
</li>
|
978
|
+
|
979
|
+
<li>
|
980
|
+
<span class="name">:parity</span>
|
981
|
+
<span class="type">(<tt>:none</tt>, <tt>:even</tt>, <tt>:odd</tt>, <tt>:mark</tt>, <tt>:space</tt>)</span>
|
982
|
+
<span class="default">
|
983
|
+
|
984
|
+
— default:
|
985
|
+
<tt>:none</tt>
|
986
|
+
|
987
|
+
</span>
|
988
|
+
|
989
|
+
</li>
|
990
|
+
|
991
|
+
<li>
|
992
|
+
<span class="name">:stop_bits</span>
|
993
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
994
|
+
<span class="default">
|
995
|
+
|
996
|
+
— default:
|
997
|
+
<tt>1</tt>
|
998
|
+
|
999
|
+
</span>
|
1000
|
+
|
1001
|
+
</li>
|
1002
|
+
|
1003
|
+
<li>
|
1004
|
+
<span class="name">:flow_control</span>
|
1005
|
+
<span class="type">(<tt>:none</tt>)</span>
|
1006
|
+
<span class="default">
|
1007
|
+
|
1008
|
+
— default:
|
1009
|
+
<tt>:none</tt>
|
1010
|
+
|
1011
|
+
</span>
|
1012
|
+
|
1013
|
+
</li>
|
1014
|
+
|
1015
|
+
</ul>
|
1016
|
+
|
1017
|
+
|
1018
|
+
|
1019
|
+
</div><table class="source_code">
|
1020
|
+
<tr>
|
1021
|
+
<td>
|
1022
|
+
<pre class="lines">
|
1023
|
+
|
1024
|
+
|
1025
|
+
49
|
1026
|
+
50
|
1027
|
+
51
|
1028
|
+
52
|
1029
|
+
53
|
1030
|
+
54
|
1031
|
+
55
|
1032
|
+
56
|
1033
|
+
57
|
1034
|
+
58
|
1035
|
+
59
|
1036
|
+
60
|
1037
|
+
61
|
1038
|
+
62
|
1039
|
+
63
|
1040
|
+
64
|
1041
|
+
65
|
1042
|
+
66
|
1043
|
+
67
|
1044
|
+
68
|
1045
|
+
69
|
1046
|
+
70
|
1047
|
+
71
|
1048
|
+
72
|
1049
|
+
73
|
1050
|
+
74
|
1051
|
+
75
|
1052
|
+
76
|
1053
|
+
77</pre>
|
1054
|
+
</td>
|
1055
|
+
<td>
|
1056
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 49</span>
|
1057
|
+
|
1058
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span>
|
1059
|
+
<span class='ivar'>@project</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:project</span><span class='comma'>,</span> <span class='kw'>nil</span>
|
1060
|
+
|
1061
|
+
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:name</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
1062
|
+
<span class='ivar'>@id</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='int'>0</span>
|
1063
|
+
<span class='ivar'>@active</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:active</span><span class='comma'>,</span> <span class='kw'>false</span>
|
1064
|
+
<span class='ivar'>@description</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span>
|
1065
|
+
|
1066
|
+
<span class='ivar'>@ip_address</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:ip_address</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.0.0</span><span class='tstring_end'>'</span></span>
|
1067
|
+
<span class='ivar'>@ip_port</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:ip_port</span><span class='comma'>,</span> <span class='int'>1319</span>
|
1068
|
+
<span class='ivar'>@ensure_availability</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:ensure_availability</span><span class='comma'>,</span> <span class='kw'>true</span>
|
1069
|
+
|
1070
|
+
<span class='ivar'>@com_port</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:com_port</span><span class='comma'>,</span> <span class='symbol'>:com1</span>
|
1071
|
+
<span class='ivar'>@baud_rate</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:baud_rate</span><span class='comma'>,</span> <span class='int'>38400</span>
|
1072
|
+
<span class='ivar'>@data_bits</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:data_bits</span><span class='comma'>,</span> <span class='int'>8</span>
|
1073
|
+
<span class='ivar'>@parity</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:parity</span><span class='comma'>,</span> <span class='symbol'>:none</span>
|
1074
|
+
<span class='ivar'>@stop_bits</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:stop_bits</span><span class='comma'>,</span> <span class='int'>1</span>
|
1075
|
+
<span class='ivar'>@flow_control</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:flow_control</span><span class='comma'>,</span> <span class='symbol'>:none</span>
|
1076
|
+
|
1077
|
+
<span class='ivar'>@files</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
1078
|
+
|
1079
|
+
<span class='ivar'>@compiler_target_files</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
1080
|
+
<span class='ivar'>@compiler_include_paths</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
1081
|
+
<span class='ivar'>@compiler_module_paths</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
1082
|
+
<span class='ivar'>@compiler_library_paths</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
1083
|
+
|
1084
|
+
<span class='id identifier rubyid_system_element'>system_element</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:element</span><span class='comma'>,</span> <span class='kw'>nil</span>
|
1085
|
+
<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>
|
1086
|
+
<span class='kw'>end</span></pre>
|
1087
|
+
</td>
|
1088
|
+
</tr>
|
1089
|
+
</table>
|
1090
|
+
</div>
|
1091
|
+
|
1092
|
+
</div>
|
1093
|
+
|
1094
|
+
<div id="instance_attr_details" class="attr_details">
|
1095
|
+
<h2>Instance Attribute Details</h2>
|
1096
|
+
|
1097
|
+
|
1098
|
+
<span id="active=-instance_method"></span>
|
1099
|
+
<div class="method_details first">
|
1100
|
+
<h3 class="signature first" id="active-instance_method">
|
1101
|
+
|
1102
|
+
- (<tt>Object</tt>) <strong>active</strong>
|
1103
|
+
|
1104
|
+
|
1105
|
+
|
1106
|
+
|
1107
|
+
|
1108
|
+
</h3><div class="docstring">
|
1109
|
+
<div class="discussion">
|
1110
|
+
|
1111
|
+
<p>Returns the value of attribute active</p>
|
1112
|
+
|
1113
|
+
|
1114
|
+
</div>
|
1115
|
+
</div>
|
1116
|
+
<div class="tags">
|
1117
|
+
|
1118
|
+
|
1119
|
+
</div><table class="source_code">
|
1120
|
+
<tr>
|
1121
|
+
<td>
|
1122
|
+
<pre class="lines">
|
1123
|
+
|
1124
|
+
|
1125
|
+
13
|
1126
|
+
14
|
1127
|
+
15</pre>
|
1128
|
+
</td>
|
1129
|
+
<td>
|
1130
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 13</span>
|
1131
|
+
|
1132
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_active'>active</span>
|
1133
|
+
<span class='ivar'>@active</span>
|
1134
|
+
<span class='kw'>end</span></pre>
|
1135
|
+
</td>
|
1136
|
+
</tr>
|
1137
|
+
</table>
|
1138
|
+
</div>
|
1139
|
+
|
1140
|
+
|
1141
|
+
<span id="baud_rate=-instance_method"></span>
|
1142
|
+
<div class="method_details ">
|
1143
|
+
<h3 class="signature " id="baud_rate-instance_method">
|
1144
|
+
|
1145
|
+
- (<tt>Object</tt>) <strong>baud_rate</strong>
|
1146
|
+
|
1147
|
+
|
1148
|
+
|
1149
|
+
|
1150
|
+
|
1151
|
+
</h3><div class="docstring">
|
1152
|
+
<div class="discussion">
|
1153
|
+
|
1154
|
+
<p>Returns the value of attribute baud_rate</p>
|
1155
|
+
|
1156
|
+
|
1157
|
+
</div>
|
1158
|
+
</div>
|
1159
|
+
<div class="tags">
|
1160
|
+
|
1161
|
+
|
1162
|
+
</div><table class="source_code">
|
1163
|
+
<tr>
|
1164
|
+
<td>
|
1165
|
+
<pre class="lines">
|
1166
|
+
|
1167
|
+
|
1168
|
+
22
|
1169
|
+
23
|
1170
|
+
24</pre>
|
1171
|
+
</td>
|
1172
|
+
<td>
|
1173
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 22</span>
|
1174
|
+
|
1175
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_baud_rate'>baud_rate</span>
|
1176
|
+
<span class='ivar'>@baud_rate</span>
|
1177
|
+
<span class='kw'>end</span></pre>
|
1178
|
+
</td>
|
1179
|
+
</tr>
|
1180
|
+
</table>
|
1181
|
+
</div>
|
1182
|
+
|
1183
|
+
|
1184
|
+
<span id="com_port=-instance_method"></span>
|
1185
|
+
<div class="method_details ">
|
1186
|
+
<h3 class="signature " id="com_port-instance_method">
|
1187
|
+
|
1188
|
+
- (<tt>Object</tt>) <strong>com_port</strong>
|
1189
|
+
|
1190
|
+
|
1191
|
+
|
1192
|
+
|
1193
|
+
|
1194
|
+
</h3><div class="docstring">
|
1195
|
+
<div class="discussion">
|
1196
|
+
|
1197
|
+
<p>Returns the value of attribute com_port</p>
|
1198
|
+
|
1199
|
+
|
1200
|
+
</div>
|
1201
|
+
</div>
|
1202
|
+
<div class="tags">
|
1203
|
+
|
1204
|
+
|
1205
|
+
</div><table class="source_code">
|
1206
|
+
<tr>
|
1207
|
+
<td>
|
1208
|
+
<pre class="lines">
|
1209
|
+
|
1210
|
+
|
1211
|
+
21
|
1212
|
+
22
|
1213
|
+
23</pre>
|
1214
|
+
</td>
|
1215
|
+
<td>
|
1216
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 21</span>
|
1217
|
+
|
1218
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_com_port'>com_port</span>
|
1219
|
+
<span class='ivar'>@com_port</span>
|
1220
|
+
<span class='kw'>end</span></pre>
|
1221
|
+
</td>
|
1222
|
+
</tr>
|
1223
|
+
</table>
|
1224
|
+
</div>
|
1225
|
+
|
1226
|
+
|
1227
|
+
<span id="data_bits=-instance_method"></span>
|
1228
|
+
<div class="method_details ">
|
1229
|
+
<h3 class="signature " id="data_bits-instance_method">
|
1230
|
+
|
1231
|
+
- (<tt>Object</tt>) <strong>data_bits</strong>
|
1232
|
+
|
1233
|
+
|
1234
|
+
|
1235
|
+
|
1236
|
+
|
1237
|
+
</h3><div class="docstring">
|
1238
|
+
<div class="discussion">
|
1239
|
+
|
1240
|
+
<p>Returns the value of attribute data_bits</p>
|
1241
|
+
|
1242
|
+
|
1243
|
+
</div>
|
1244
|
+
</div>
|
1245
|
+
<div class="tags">
|
1246
|
+
|
1247
|
+
|
1248
|
+
</div><table class="source_code">
|
1249
|
+
<tr>
|
1250
|
+
<td>
|
1251
|
+
<pre class="lines">
|
1252
|
+
|
1253
|
+
|
1254
|
+
23
|
1255
|
+
24
|
1256
|
+
25</pre>
|
1257
|
+
</td>
|
1258
|
+
<td>
|
1259
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 23</span>
|
1260
|
+
|
1261
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_data_bits'>data_bits</span>
|
1262
|
+
<span class='ivar'>@data_bits</span>
|
1263
|
+
<span class='kw'>end</span></pre>
|
1264
|
+
</td>
|
1265
|
+
</tr>
|
1266
|
+
</table>
|
1267
|
+
</div>
|
1268
|
+
|
1269
|
+
|
1270
|
+
<span id="description=-instance_method"></span>
|
1271
|
+
<div class="method_details ">
|
1272
|
+
<h3 class="signature " id="description-instance_method">
|
1273
|
+
|
1274
|
+
- (<tt>Object</tt>) <strong>description</strong>
|
1275
|
+
|
1276
|
+
|
1277
|
+
|
1278
|
+
|
1279
|
+
|
1280
|
+
</h3><div class="docstring">
|
1281
|
+
<div class="discussion">
|
1282
|
+
|
1283
|
+
<p>Returns the value of attribute description</p>
|
1284
|
+
|
1285
|
+
|
1286
|
+
</div>
|
1287
|
+
</div>
|
1288
|
+
<div class="tags">
|
1289
|
+
|
1290
|
+
|
1291
|
+
</div><table class="source_code">
|
1292
|
+
<tr>
|
1293
|
+
<td>
|
1294
|
+
<pre class="lines">
|
1295
|
+
|
1296
|
+
|
1297
|
+
15
|
1298
|
+
16
|
1299
|
+
17</pre>
|
1300
|
+
</td>
|
1301
|
+
<td>
|
1302
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 15</span>
|
1303
|
+
|
1304
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
|
1305
|
+
<span class='ivar'>@description</span>
|
1306
|
+
<span class='kw'>end</span></pre>
|
1307
|
+
</td>
|
1308
|
+
</tr>
|
1309
|
+
</table>
|
1310
|
+
</div>
|
1311
|
+
|
1312
|
+
|
1313
|
+
<span id="ensure_availability=-instance_method"></span>
|
1314
|
+
<div class="method_details ">
|
1315
|
+
<h3 class="signature " id="ensure_availability-instance_method">
|
1316
|
+
|
1317
|
+
- (<tt>Object</tt>) <strong>ensure_availability</strong>
|
1318
|
+
|
1319
|
+
|
1320
|
+
|
1321
|
+
|
1322
|
+
|
1323
|
+
</h3><div class="docstring">
|
1324
|
+
<div class="discussion">
|
1325
|
+
|
1326
|
+
<p>Returns the value of attribute ensure_availability</p>
|
1327
|
+
|
1328
|
+
|
1329
|
+
</div>
|
1330
|
+
</div>
|
1331
|
+
<div class="tags">
|
1332
|
+
|
1333
|
+
|
1334
|
+
</div><table class="source_code">
|
1335
|
+
<tr>
|
1336
|
+
<td>
|
1337
|
+
<pre class="lines">
|
1338
|
+
|
1339
|
+
|
1340
|
+
19
|
1341
|
+
20
|
1342
|
+
21</pre>
|
1343
|
+
</td>
|
1344
|
+
<td>
|
1345
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 19</span>
|
1346
|
+
|
1347
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_ensure_availability'>ensure_availability</span>
|
1348
|
+
<span class='ivar'>@ensure_availability</span>
|
1349
|
+
<span class='kw'>end</span></pre>
|
1350
|
+
</td>
|
1351
|
+
</tr>
|
1352
|
+
</table>
|
1353
|
+
</div>
|
1354
|
+
|
1355
|
+
|
1356
|
+
<span id="files=-instance_method"></span>
|
1357
|
+
<div class="method_details ">
|
1358
|
+
<h3 class="signature " id="files-instance_method">
|
1359
|
+
|
1360
|
+
- (<tt>Object</tt>) <strong>files</strong>
|
1361
|
+
|
1362
|
+
|
1363
|
+
|
1364
|
+
|
1365
|
+
|
1366
|
+
</h3><div class="docstring">
|
1367
|
+
<div class="discussion">
|
1368
|
+
|
1369
|
+
<p>Returns the value of attribute files</p>
|
1370
|
+
|
1371
|
+
|
1372
|
+
</div>
|
1373
|
+
</div>
|
1374
|
+
<div class="tags">
|
1375
|
+
|
1376
|
+
|
1377
|
+
</div><table class="source_code">
|
1378
|
+
<tr>
|
1379
|
+
<td>
|
1380
|
+
<pre class="lines">
|
1381
|
+
|
1382
|
+
|
1383
|
+
10
|
1384
|
+
11
|
1385
|
+
12</pre>
|
1386
|
+
</td>
|
1387
|
+
<td>
|
1388
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 10</span>
|
1389
|
+
|
1390
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_files'>files</span>
|
1391
|
+
<span class='ivar'>@files</span>
|
1392
|
+
<span class='kw'>end</span></pre>
|
1393
|
+
</td>
|
1394
|
+
</tr>
|
1395
|
+
</table>
|
1396
|
+
</div>
|
1397
|
+
|
1398
|
+
|
1399
|
+
<span id="flow_control=-instance_method"></span>
|
1400
|
+
<div class="method_details ">
|
1401
|
+
<h3 class="signature " id="flow_control-instance_method">
|
1402
|
+
|
1403
|
+
- (<tt>Object</tt>) <strong>flow_control</strong>
|
1404
|
+
|
1405
|
+
|
1406
|
+
|
1407
|
+
|
1408
|
+
|
1409
|
+
</h3><div class="docstring">
|
1410
|
+
<div class="discussion">
|
1411
|
+
|
1412
|
+
<p>Returns the value of attribute flow_control</p>
|
1413
|
+
|
1414
|
+
|
1415
|
+
</div>
|
1416
|
+
</div>
|
1417
|
+
<div class="tags">
|
1418
|
+
|
1419
|
+
|
1420
|
+
</div><table class="source_code">
|
1421
|
+
<tr>
|
1422
|
+
<td>
|
1423
|
+
<pre class="lines">
|
1424
|
+
|
1425
|
+
|
1426
|
+
26
|
1427
|
+
27
|
1428
|
+
28</pre>
|
1429
|
+
</td>
|
1430
|
+
<td>
|
1431
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 26</span>
|
1432
|
+
|
1433
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_flow_control'>flow_control</span>
|
1434
|
+
<span class='ivar'>@flow_control</span>
|
1435
|
+
<span class='kw'>end</span></pre>
|
1436
|
+
</td>
|
1437
|
+
</tr>
|
1438
|
+
</table>
|
1439
|
+
</div>
|
1440
|
+
|
1441
|
+
|
1442
|
+
<span id="id=-instance_method"></span>
|
1443
|
+
<div class="method_details ">
|
1444
|
+
<h3 class="signature " id="id-instance_method">
|
495
1445
|
|
496
|
-
- (<tt
|
1446
|
+
- (<tt>Object</tt>) <strong>id</strong>
|
497
1447
|
|
498
1448
|
|
499
1449
|
|
@@ -502,7 +1452,7 @@ Project -> System</p>
|
|
502
1452
|
</h3><div class="docstring">
|
503
1453
|
<div class="discussion">
|
504
1454
|
|
505
|
-
<p>Returns
|
1455
|
+
<p>Returns the value of attribute id</p>
|
506
1456
|
|
507
1457
|
|
508
1458
|
</div>
|
@@ -516,58 +1466,27 @@ Project -> System</p>
|
|
516
1466
|
<pre class="lines">
|
517
1467
|
|
518
1468
|
|
519
|
-
13
|
520
1469
|
14
|
521
1470
|
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>
|
1471
|
+
16</pre>
|
535
1472
|
</td>
|
536
1473
|
<td>
|
537
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
1474
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 14</span>
|
538
1475
|
|
539
|
-
<span class='kw'>def</span> <span class='id identifier
|
540
|
-
<span class='ivar'>@
|
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>
|
544
|
-
|
545
|
-
<span class='ivar'>@files</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
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>
|
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>
|
1476
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
|
1477
|
+
<span class='ivar'>@id</span>
|
554
1478
|
<span class='kw'>end</span></pre>
|
555
1479
|
</td>
|
556
1480
|
</tr>
|
557
1481
|
</table>
|
558
1482
|
</div>
|
559
|
-
|
560
|
-
</div>
|
561
|
-
|
562
|
-
<div id="instance_attr_details" class="attr_details">
|
563
|
-
<h2>Instance Attribute Details</h2>
|
564
1483
|
|
565
1484
|
|
566
|
-
<span id="
|
567
|
-
<div class="method_details
|
568
|
-
<h3 class="signature
|
1485
|
+
<span id="ip_address=-instance_method"></span>
|
1486
|
+
<div class="method_details ">
|
1487
|
+
<h3 class="signature " id="ip_address-instance_method">
|
569
1488
|
|
570
|
-
- (<tt>Object</tt>) <strong>
|
1489
|
+
- (<tt>Object</tt>) <strong>ip_address</strong>
|
571
1490
|
|
572
1491
|
|
573
1492
|
|
@@ -576,7 +1495,7 @@ Project -> System</p>
|
|
576
1495
|
</h3><div class="docstring">
|
577
1496
|
<div class="discussion">
|
578
1497
|
|
579
|
-
<p>Returns the value of attribute
|
1498
|
+
<p>Returns the value of attribute ip_address</p>
|
580
1499
|
|
581
1500
|
|
582
1501
|
</div>
|
@@ -590,15 +1509,15 @@ Project -> System</p>
|
|
590
1509
|
<pre class="lines">
|
591
1510
|
|
592
1511
|
|
593
|
-
|
594
|
-
|
595
|
-
|
1512
|
+
17
|
1513
|
+
18
|
1514
|
+
19</pre>
|
596
1515
|
</td>
|
597
1516
|
<td>
|
598
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
1517
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 17</span>
|
599
1518
|
|
600
|
-
<span class='kw'>def</span> <span class='id identifier
|
601
|
-
<span class='ivar'>@
|
1519
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_ip_address'>ip_address</span>
|
1520
|
+
<span class='ivar'>@ip_address</span>
|
602
1521
|
<span class='kw'>end</span></pre>
|
603
1522
|
</td>
|
604
1523
|
</tr>
|
@@ -606,11 +1525,11 @@ Project -> System</p>
|
|
606
1525
|
</div>
|
607
1526
|
|
608
1527
|
|
609
|
-
<span id="
|
1528
|
+
<span id="ip_port=-instance_method"></span>
|
610
1529
|
<div class="method_details ">
|
611
|
-
<h3 class="signature " id="
|
1530
|
+
<h3 class="signature " id="ip_port-instance_method">
|
612
1531
|
|
613
|
-
- (<tt>Object</tt>) <strong>
|
1532
|
+
- (<tt>Object</tt>) <strong>ip_port</strong>
|
614
1533
|
|
615
1534
|
|
616
1535
|
|
@@ -619,7 +1538,7 @@ Project -> System</p>
|
|
619
1538
|
</h3><div class="docstring">
|
620
1539
|
<div class="discussion">
|
621
1540
|
|
622
|
-
<p>Returns the value of attribute
|
1541
|
+
<p>Returns the value of attribute ip_port</p>
|
623
1542
|
|
624
1543
|
|
625
1544
|
</div>
|
@@ -633,15 +1552,15 @@ Project -> System</p>
|
|
633
1552
|
<pre class="lines">
|
634
1553
|
|
635
1554
|
|
636
|
-
|
637
|
-
|
638
|
-
|
1555
|
+
18
|
1556
|
+
19
|
1557
|
+
20</pre>
|
639
1558
|
</td>
|
640
1559
|
<td>
|
641
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
1560
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 18</span>
|
642
1561
|
|
643
|
-
<span class='kw'>def</span> <span class='id identifier
|
644
|
-
<span class='ivar'>@
|
1562
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_ip_port'>ip_port</span>
|
1563
|
+
<span class='ivar'>@ip_port</span>
|
645
1564
|
<span class='kw'>end</span></pre>
|
646
1565
|
</td>
|
647
1566
|
</tr>
|
@@ -649,11 +1568,11 @@ Project -> System</p>
|
|
649
1568
|
</div>
|
650
1569
|
|
651
1570
|
|
652
|
-
<span id="
|
1571
|
+
<span id="name=-instance_method"></span>
|
653
1572
|
<div class="method_details ">
|
654
|
-
<h3 class="signature " id="
|
1573
|
+
<h3 class="signature " id="name-instance_method">
|
655
1574
|
|
656
|
-
- (<tt>Object</tt>) <strong>
|
1575
|
+
- (<tt>Object</tt>) <strong>name</strong>
|
657
1576
|
|
658
1577
|
|
659
1578
|
|
@@ -662,7 +1581,7 @@ Project -> System</p>
|
|
662
1581
|
</h3><div class="docstring">
|
663
1582
|
<div class="discussion">
|
664
1583
|
|
665
|
-
<p>Returns the value of attribute
|
1584
|
+
<p>Returns the value of attribute name</p>
|
666
1585
|
|
667
1586
|
|
668
1587
|
</div>
|
@@ -676,15 +1595,15 @@ Project -> System</p>
|
|
676
1595
|
<pre class="lines">
|
677
1596
|
|
678
1597
|
|
679
|
-
|
680
|
-
|
681
|
-
|
1598
|
+
12
|
1599
|
+
13
|
1600
|
+
14</pre>
|
682
1601
|
</td>
|
683
1602
|
<td>
|
684
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
1603
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 12</span>
|
685
1604
|
|
686
|
-
<span class='kw'>def</span> <span class='id identifier
|
687
|
-
<span class='ivar'>@
|
1605
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
1606
|
+
<span class='ivar'>@name</span>
|
688
1607
|
<span class='kw'>end</span></pre>
|
689
1608
|
</td>
|
690
1609
|
</tr>
|
@@ -692,11 +1611,11 @@ Project -> System</p>
|
|
692
1611
|
</div>
|
693
1612
|
|
694
1613
|
|
695
|
-
<span id="
|
1614
|
+
<span id="parity=-instance_method"></span>
|
696
1615
|
<div class="method_details ">
|
697
|
-
<h3 class="signature " id="
|
1616
|
+
<h3 class="signature " id="parity-instance_method">
|
698
1617
|
|
699
|
-
- (<tt>Object</tt>) <strong>
|
1618
|
+
- (<tt>Object</tt>) <strong>parity</strong>
|
700
1619
|
|
701
1620
|
|
702
1621
|
|
@@ -705,7 +1624,7 @@ Project -> System</p>
|
|
705
1624
|
</h3><div class="docstring">
|
706
1625
|
<div class="discussion">
|
707
1626
|
|
708
|
-
<p>Returns the value of attribute
|
1627
|
+
<p>Returns the value of attribute parity</p>
|
709
1628
|
|
710
1629
|
|
711
1630
|
</div>
|
@@ -719,15 +1638,15 @@ Project -> System</p>
|
|
719
1638
|
<pre class="lines">
|
720
1639
|
|
721
1640
|
|
722
|
-
|
723
|
-
|
724
|
-
|
1641
|
+
24
|
1642
|
+
25
|
1643
|
+
26</pre>
|
725
1644
|
</td>
|
726
1645
|
<td>
|
727
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
1646
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 24</span>
|
728
1647
|
|
729
|
-
<span class='kw'>def</span> <span class='id identifier
|
730
|
-
<span class='ivar'>@
|
1648
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_parity'>parity</span>
|
1649
|
+
<span class='ivar'>@parity</span>
|
731
1650
|
<span class='kw'>end</span></pre>
|
732
1651
|
</td>
|
733
1652
|
</tr>
|
@@ -762,12 +1681,12 @@ Project -> System</p>
|
|
762
1681
|
<pre class="lines">
|
763
1682
|
|
764
1683
|
|
1684
|
+
9
|
765
1685
|
10
|
766
|
-
11
|
767
|
-
12</pre>
|
1686
|
+
11</pre>
|
768
1687
|
</td>
|
769
1688
|
<td>
|
770
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
1689
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 9</span>
|
771
1690
|
|
772
1691
|
<span class='kw'>def</span> <span class='id identifier rubyid_project'>project</span>
|
773
1692
|
<span class='ivar'>@project</span>
|
@@ -777,6 +1696,49 @@ Project -> System</p>
|
|
777
1696
|
</table>
|
778
1697
|
</div>
|
779
1698
|
|
1699
|
+
|
1700
|
+
<span id="stop_bits=-instance_method"></span>
|
1701
|
+
<div class="method_details ">
|
1702
|
+
<h3 class="signature " id="stop_bits-instance_method">
|
1703
|
+
|
1704
|
+
- (<tt>Object</tt>) <strong>stop_bits</strong>
|
1705
|
+
|
1706
|
+
|
1707
|
+
|
1708
|
+
|
1709
|
+
|
1710
|
+
</h3><div class="docstring">
|
1711
|
+
<div class="discussion">
|
1712
|
+
|
1713
|
+
<p>Returns the value of attribute stop_bits</p>
|
1714
|
+
|
1715
|
+
|
1716
|
+
</div>
|
1717
|
+
</div>
|
1718
|
+
<div class="tags">
|
1719
|
+
|
1720
|
+
|
1721
|
+
</div><table class="source_code">
|
1722
|
+
<tr>
|
1723
|
+
<td>
|
1724
|
+
<pre class="lines">
|
1725
|
+
|
1726
|
+
|
1727
|
+
25
|
1728
|
+
26
|
1729
|
+
27</pre>
|
1730
|
+
</td>
|
1731
|
+
<td>
|
1732
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 25</span>
|
1733
|
+
|
1734
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_stop_bits'>stop_bits</span>
|
1735
|
+
<span class='ivar'>@stop_bits</span>
|
1736
|
+
<span class='kw'>end</span></pre>
|
1737
|
+
</td>
|
1738
|
+
</tr>
|
1739
|
+
</table>
|
1740
|
+
</div>
|
1741
|
+
|
780
1742
|
</div>
|
781
1743
|
|
782
1744
|
|
@@ -810,15 +1772,15 @@ Project -> System</p>
|
|
810
1772
|
<pre class="lines">
|
811
1773
|
|
812
1774
|
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
1775
|
+
80
|
1776
|
+
81
|
1777
|
+
82
|
1778
|
+
83</pre>
|
817
1779
|
</td>
|
818
1780
|
<td>
|
819
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
1781
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 80</span>
|
820
1782
|
|
821
|
-
<span class='kw'>def</span> <span class='op'><<</span
|
1783
|
+
<span class='kw'>def</span> <span class='op'><<</span> <span class='id identifier rubyid_file'>file</span>
|
822
1784
|
<span class='ivar'>@files</span> <span class='op'><<</span> <span class='id identifier rubyid_file'>file</span>
|
823
1785
|
<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
1786
|
<span class='kw'>end</span></pre>
|
@@ -853,16 +1815,16 @@ Project -> System</p>
|
|
853
1815
|
<pre class="lines">
|
854
1816
|
|
855
1817
|
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
1818
|
+
179
|
1819
|
+
180
|
1820
|
+
181
|
1821
|
+
182
|
1822
|
+
183
|
1823
|
+
184
|
1824
|
+
185</pre>
|
863
1825
|
</td>
|
864
1826
|
<td>
|
865
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
1827
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 179</span>
|
866
1828
|
|
867
1829
|
<span class='kw'>def</span> <span class='id identifier rubyid_compile'>compile</span>
|
868
1830
|
<span class='comment'># The compiler dependency is only needed if this method is called.
|
@@ -888,35 +1850,40 @@ Project -> System</p>
|
|
888
1850
|
</h3><div class="docstring">
|
889
1851
|
<div class="discussion">
|
890
1852
|
|
891
|
-
<p>See Test::NetLinx::Compilable.</p>
|
892
|
-
|
893
1853
|
|
894
1854
|
</div>
|
895
1855
|
</div>
|
896
1856
|
<div class="tags">
|
897
1857
|
|
898
1858
|
|
1859
|
+
<p class="tag_title">See Also:</p>
|
1860
|
+
<ul class="see">
|
1861
|
+
|
1862
|
+
<li>Test::NetLinx::Compilable.</li>
|
1863
|
+
|
1864
|
+
</ul>
|
1865
|
+
|
899
1866
|
</div><table class="source_code">
|
900
1867
|
<tr>
|
901
1868
|
<td>
|
902
1869
|
<pre class="lines">
|
903
1870
|
|
904
1871
|
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
1872
|
+
136
|
1873
|
+
137
|
1874
|
+
138
|
1875
|
+
139
|
1876
|
+
140
|
1877
|
+
141
|
1878
|
+
142
|
1879
|
+
143</pre>
|
913
1880
|
</td>
|
914
1881
|
<td>
|
915
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
1882
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 136</span>
|
916
1883
|
|
917
1884
|
<span class='kw'>def</span> <span class='id identifier rubyid_compiler_include_paths'>compiler_include_paths</span>
|
918
1885
|
<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='
|
1886
|
+
</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='symbol'>:include</span><span class='rbrace'>}</span><span class='period'>
|
920
1887
|
</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
1888
|
<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
1889
|
<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>
|
@@ -939,26 +1906,31 @@ Project -> System</p>
|
|
939
1906
|
</h3><div class="docstring">
|
940
1907
|
<div class="discussion">
|
941
1908
|
|
942
|
-
<p>See Test::NetLinx::Compilable.</p>
|
943
|
-
|
944
1909
|
|
945
1910
|
</div>
|
946
1911
|
</div>
|
947
1912
|
<div class="tags">
|
948
1913
|
|
949
1914
|
|
1915
|
+
<p class="tag_title">See Also:</p>
|
1916
|
+
<ul class="see">
|
1917
|
+
|
1918
|
+
<li>Test::NetLinx::Compilable.</li>
|
1919
|
+
|
1920
|
+
</ul>
|
1921
|
+
|
950
1922
|
</div><table class="source_code">
|
951
1923
|
<tr>
|
952
1924
|
<td>
|
953
1925
|
<pre class="lines">
|
954
1926
|
|
955
1927
|
|
956
|
-
|
957
|
-
|
958
|
-
|
1928
|
+
156
|
1929
|
+
157
|
1930
|
+
158</pre>
|
959
1931
|
</td>
|
960
1932
|
<td>
|
961
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
1933
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 156</span>
|
962
1934
|
|
963
1935
|
<span class='kw'>def</span> <span class='id identifier rubyid_compiler_library_paths'>compiler_library_paths</span>
|
964
1936
|
<span class='lbracket'>[</span><span class='rbracket'>]</span>
|
@@ -980,35 +1952,40 @@ Project -> System</p>
|
|
980
1952
|
</h3><div class="docstring">
|
981
1953
|
<div class="discussion">
|
982
1954
|
|
983
|
-
<p>See Test::NetLinx::Compilable.</p>
|
984
|
-
|
985
1955
|
|
986
1956
|
</div>
|
987
1957
|
</div>
|
988
1958
|
<div class="tags">
|
989
1959
|
|
990
1960
|
|
1961
|
+
<p class="tag_title">See Also:</p>
|
1962
|
+
<ul class="see">
|
1963
|
+
|
1964
|
+
<li>Test::NetLinx::Compilable.</li>
|
1965
|
+
|
1966
|
+
</ul>
|
1967
|
+
|
991
1968
|
</div><table class="source_code">
|
992
1969
|
<tr>
|
993
1970
|
<td>
|
994
1971
|
<pre class="lines">
|
995
1972
|
|
996
1973
|
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1974
|
+
146
|
1975
|
+
147
|
1976
|
+
148
|
1977
|
+
149
|
1978
|
+
150
|
1979
|
+
151
|
1980
|
+
152
|
1981
|
+
153</pre>
|
1005
1982
|
</td>
|
1006
1983
|
<td>
|
1007
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
1984
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 146</span>
|
1008
1985
|
|
1009
1986
|
<span class='kw'>def</span> <span class='id identifier rubyid_compiler_module_paths'>compiler_module_paths</span>
|
1010
1987
|
<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='
|
1988
|
+
</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='symbol'>:module</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='symbol'>:tko</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='symbol'>:duet</span><span class='rbrace'>}</span><span class='period'>
|
1012
1989
|
</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
1990
|
<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
1991
|
<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>
|
@@ -1031,35 +2008,40 @@ Project -> System</p>
|
|
1031
2008
|
</h3><div class="docstring">
|
1032
2009
|
<div class="discussion">
|
1033
2010
|
|
1034
|
-
<p>See Test::NetLinx::Compilable.</p>
|
1035
|
-
|
1036
2011
|
|
1037
2012
|
</div>
|
1038
2013
|
</div>
|
1039
2014
|
<div class="tags">
|
1040
2015
|
|
1041
2016
|
|
2017
|
+
<p class="tag_title">See Also:</p>
|
2018
|
+
<ul class="see">
|
2019
|
+
|
2020
|
+
<li>Test::NetLinx::Compilable.</li>
|
2021
|
+
|
2022
|
+
</ul>
|
2023
|
+
|
1042
2024
|
</div><table class="source_code">
|
1043
2025
|
<tr>
|
1044
2026
|
<td>
|
1045
2027
|
<pre class="lines">
|
1046
2028
|
|
1047
2029
|
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
2030
|
+
126
|
2031
|
+
127
|
2032
|
+
128
|
2033
|
+
129
|
2034
|
+
130
|
2035
|
+
131
|
2036
|
+
132
|
2037
|
+
133</pre>
|
1056
2038
|
</td>
|
1057
2039
|
<td>
|
1058
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
2040
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 126</span>
|
1059
2041
|
|
1060
2042
|
<span class='kw'>def</span> <span class='id identifier rubyid_compiler_target_files'>compiler_target_files</span>
|
1061
2043
|
<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='
|
2044
|
+
</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='symbol'>:master</span><span class='rbrace'>}</span><span class='period'>
|
1063
2045
|
</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
2046
|
<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
2047
|
<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>
|
@@ -1099,6 +2081,11 @@ Project -> System</p>
|
|
1099
2081
|
|
1100
2082
|
|
1101
2083
|
|
2084
|
+
—
|
2085
|
+
<div class='inline'>
|
2086
|
+
<p>true if the project contains the specified file.</p>
|
2087
|
+
</div>
|
2088
|
+
|
1102
2089
|
</li>
|
1103
2090
|
|
1104
2091
|
</ul>
|
@@ -1109,27 +2096,27 @@ Project -> System</p>
|
|
1109
2096
|
<pre class="lines">
|
1110
2097
|
|
1111
2098
|
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
2099
|
+
161
|
2100
|
+
162
|
2101
|
+
163
|
2102
|
+
164
|
2103
|
+
165
|
2104
|
+
166
|
2105
|
+
167
|
2106
|
+
168
|
2107
|
+
169
|
2108
|
+
170
|
2109
|
+
171
|
2110
|
+
172
|
2111
|
+
173
|
2112
|
+
174
|
2113
|
+
175
|
2114
|
+
176</pre>
|
1128
2115
|
</td>
|
1129
2116
|
<td>
|
1130
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
2117
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 161</span>
|
1131
2118
|
|
1132
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_include?'>include?</span
|
2119
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_include?'>include?</span> <span class='id identifier rubyid_file'>file</span>
|
1133
2120
|
<span class='id identifier rubyid_included'>included</span> <span class='op'>=</span> <span class='kw'>false</span>
|
1134
2121
|
|
1135
2122
|
<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>
|
@@ -1169,6 +2156,24 @@ Project -> System</p>
|
|
1169
2156
|
</div>
|
1170
2157
|
<div class="tags">
|
1171
2158
|
|
2159
|
+
<p class="tag_title">Returns:</p>
|
2160
|
+
<ul class="return">
|
2161
|
+
|
2162
|
+
<li>
|
2163
|
+
|
2164
|
+
|
2165
|
+
<span class='type'></span>
|
2166
|
+
|
2167
|
+
|
2168
|
+
|
2169
|
+
|
2170
|
+
<div class='inline'>
|
2171
|
+
<p>the system name.</p>
|
2172
|
+
</div>
|
2173
|
+
|
2174
|
+
</li>
|
2175
|
+
|
2176
|
+
</ul>
|
1172
2177
|
|
1173
2178
|
</div><table class="source_code">
|
1174
2179
|
<tr>
|
@@ -1176,12 +2181,12 @@ Project -> System</p>
|
|
1176
2181
|
<pre class="lines">
|
1177
2182
|
|
1178
2183
|
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
2184
|
+
86
|
2185
|
+
87
|
2186
|
+
88</pre>
|
1182
2187
|
</td>
|
1183
2188
|
<td>
|
1184
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/system.rb', line
|
2189
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 86</span>
|
1185
2190
|
|
1186
2191
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
1187
2192
|
<span class='ivar'>@name</span>
|
@@ -1189,6 +2194,125 @@ Project -> System</p>
|
|
1189
2194
|
</td>
|
1190
2195
|
</tr>
|
1191
2196
|
</table>
|
2197
|
+
</div>
|
2198
|
+
|
2199
|
+
<div class="method_details ">
|
2200
|
+
<h3 class="signature " id="to_xml_element-instance_method">
|
2201
|
+
|
2202
|
+
- (<tt>REXML::Element</tt>) <strong>to_xml_element</strong>
|
2203
|
+
|
2204
|
+
|
2205
|
+
|
2206
|
+
|
2207
|
+
|
2208
|
+
</h3><div class="docstring">
|
2209
|
+
<div class="discussion">
|
2210
|
+
|
2211
|
+
<p>Returns an XML element representing this system.</p>
|
2212
|
+
|
2213
|
+
|
2214
|
+
</div>
|
2215
|
+
</div>
|
2216
|
+
<div class="tags">
|
2217
|
+
|
2218
|
+
<p class="tag_title">Returns:</p>
|
2219
|
+
<ul class="return">
|
2220
|
+
|
2221
|
+
<li>
|
2222
|
+
|
2223
|
+
|
2224
|
+
<span class='type'>(<tt>REXML::Element</tt>)</span>
|
2225
|
+
|
2226
|
+
|
2227
|
+
|
2228
|
+
—
|
2229
|
+
<div class='inline'>
|
2230
|
+
<p>an XML element representing this system.</p>
|
2231
|
+
</div>
|
2232
|
+
|
2233
|
+
</li>
|
2234
|
+
|
2235
|
+
</ul>
|
2236
|
+
|
2237
|
+
</div><table class="source_code">
|
2238
|
+
<tr>
|
2239
|
+
<td>
|
2240
|
+
<pre class="lines">
|
2241
|
+
|
2242
|
+
|
2243
|
+
91
|
2244
|
+
92
|
2245
|
+
93
|
2246
|
+
94
|
2247
|
+
95
|
2248
|
+
96
|
2249
|
+
97
|
2250
|
+
98
|
2251
|
+
99
|
2252
|
+
100
|
2253
|
+
101
|
2254
|
+
102
|
2255
|
+
103
|
2256
|
+
104
|
2257
|
+
105
|
2258
|
+
106
|
2259
|
+
107
|
2260
|
+
108
|
2261
|
+
109
|
2262
|
+
110
|
2263
|
+
111
|
2264
|
+
112
|
2265
|
+
113
|
2266
|
+
114
|
2267
|
+
115
|
2268
|
+
116
|
2269
|
+
117
|
2270
|
+
118
|
2271
|
+
119
|
2272
|
+
120
|
2273
|
+
121
|
2274
|
+
122
|
2275
|
+
123</pre>
|
2276
|
+
</td>
|
2277
|
+
<td>
|
2278
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/workspace/system.rb', line 91</span>
|
2279
|
+
|
2280
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_xml_element'>to_xml_element</span>
|
2281
|
+
<span class='const'>REXML</span><span class='op'>::</span><span class='const'>Element</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>System</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_system'>system</span><span class='op'>|</span>
|
2282
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>IsActive</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_active'>active</span>
|
2283
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Platform</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Netlinx</span><span class='tstring_end'>'</span></span>
|
2284
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Transport</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Serial</span><span class='tstring_end'>'</span></span>
|
2285
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TransportEx</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span>
|
2286
|
+
<span class='lparen'>(</span><span class='id identifier rubyid_ip_address'>ip_address</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.0.0</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Serial</span><span class='tstring_end'>'</span></span> <span class='op'>:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TCPIP</span><span class='tstring_end'>'</span></span>
|
2287
|
+
|
2288
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_add_element'>add_element</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Identifier</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span> <span class='rbrace'>}</span>
|
2289
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_add_element'>add_element</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>SysID</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='id identifier rubyid_id'>id</span> <span class='rbrace'>}</span>
|
2290
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_add_element'>add_element</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Comments</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='rbrace'>}</span>
|
2291
|
+
|
2292
|
+
<span class='comment'># These don't seem to change in NetLinx Studio 4.0; possibly 3.x legacy.
|
2293
|
+
</span> <span class='comment'># The 'Ex' suffixes are used.
|
2294
|
+
</span> <span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_add_element'>add_element</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TransTCPIP</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.0.0.0</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
|
2295
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_add_element'>add_element</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TransSerial</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>COM1,38400,8,None,1,None</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
|
2296
|
+
|
2297
|
+
<span class='comment'># TODO: Generate communication settings.
|
2298
|
+
</span> <span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_add_element'>add_element</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TransTCPIPEx</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span>
|
2299
|
+
<span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ip_address'>ip_address</span><span class='embexpr_end'>}</span><span class='tstring_content'>|</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ip_port'>ip_port</span><span class='embexpr_end'>}</span><span class='tstring_content'>|</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ensure_availability'>ensure_availability</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span><span class='embexpr_end'>}</span><span class='tstring_content'>|||</span><span class='tstring_end'>"</span></span>
|
2300
|
+
<span class='rbrace'>}</span>
|
2301
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_add_element'>add_element</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TransSerialEx</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span>
|
2302
|
+
<span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_com_port'>com_port</span><span class='period'>.</span><span class='id identifier rubyid_upcase'>upcase</span><span class='embexpr_end'>}</span><span class='tstring_content'>|</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_baud_rate'>baud_rate</span><span class='embexpr_end'>}</span><span class='tstring_content'>|</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_data_bits'>data_bits</span><span class='embexpr_end'>}</span><span class='tstring_content'>|</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_parity'>parity</span><span class='period'>.</span><span class='id identifier rubyid_capitalize'>capitalize</span><span class='embexpr_end'>}</span><span class='tstring_content'>|</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_stop_bits'>stop_bits</span><span class='embexpr_end'>}</span><span class='tstring_content'>|||</span><span class='tstring_end'>"</span></span>
|
2303
|
+
<span class='rbrace'>}</span>
|
2304
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_add_element'>add_element</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TransUSBEx</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>|||||</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
|
2305
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_add_element'>add_element</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>TransVNMEx</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>||</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
|
2306
|
+
|
2307
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_add_element'>add_element</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>UserName</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
|
2308
|
+
<span class='id identifier rubyid_system'>system</span><span class='period'>.</span><span class='id identifier rubyid_add_element'>add_element</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Password</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
|
2309
|
+
|
2310
|
+
<span class='ivar'>@files</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_file'>file</span><span class='op'>|</span> <span class='id identifier rubyid_system'>system</span> <span class='op'><<</span> <span class='id identifier rubyid_file'>file</span><span class='period'>.</span><span class='id identifier rubyid_to_xml_element'>to_xml_element</span> <span class='rbrace'>}</span>
|
2311
|
+
<span class='kw'>end</span>
|
2312
|
+
<span class='kw'>end</span></pre>
|
2313
|
+
</td>
|
2314
|
+
</tr>
|
2315
|
+
</table>
|
1192
2316
|
</div>
|
1193
2317
|
|
1194
2318
|
</div>
|
@@ -1196,9 +2320,9 @@ Project -> System</p>
|
|
1196
2320
|
</div>
|
1197
2321
|
|
1198
2322
|
<div id="footer">
|
1199
|
-
Generated on
|
2323
|
+
Generated on Tue Feb 24 17:43:02 2015 by
|
1200
2324
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1201
|
-
0.8.7.
|
2325
|
+
0.8.7.6 (ruby-2.1.3).
|
1202
2326
|
</div>
|
1203
2327
|
|
1204
2328
|
</body>
|