netlinx-compile 1.0.0 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +122 -0
  3. data/doc/NetLinx.html +130 -151
  4. data/doc/NetLinx/Compile.html +130 -148
  5. data/doc/NetLinx/Compile/Extension.html +128 -145
  6. data/doc/NetLinx/Compile/Extension/AXS.html +218 -154
  7. data/doc/NetLinx/Compile/ExtensionDiscovery.html +524 -321
  8. data/doc/NetLinx/Compile/ExtensionHandler.html +755 -396
  9. data/doc/NetLinx/Compile/Script.html +431 -282
  10. data/doc/NetLinx/Compiler.html +496 -285
  11. data/doc/NetLinx/CompilerResult.html +1250 -498
  12. data/doc/NetLinx/NoCompilerError.html +142 -155
  13. data/doc/NetLinx/Rake.html +115 -0
  14. data/doc/NetLinx/Rake/Compile.html +358 -0
  15. data/doc/NetLinx/SourceFile.html +702 -423
  16. data/doc/_index.html +234 -0
  17. data/doc/class_list.html +51 -0
  18. data/doc/css/common.css +1 -0
  19. data/doc/css/full_list.css +58 -0
  20. data/doc/css/style.css +496 -0
  21. data/doc/file.README.html +156 -0
  22. data/doc/file.license.html +70 -0
  23. data/doc/file_list.html +61 -0
  24. data/doc/frames.html +17 -0
  25. data/doc/index.html +156 -103
  26. data/doc/js/app.js +314 -0
  27. data/doc/js/full_list.js +216 -0
  28. data/doc/js/jquery.js +4 -18
  29. data/doc/method_list.html +339 -0
  30. data/doc/top-level-namespace.html +110 -0
  31. data/lib/netlinx-compile.rb +11 -1
  32. data/lib/netlinx/compile/extension_discovery.rb +4 -2
  33. data/lib/netlinx/compile/extension_handler.rb +23 -25
  34. data/lib/netlinx/compile/script.rb +4 -3
  35. data/lib/netlinx/compiler.rb +45 -21
  36. data/lib/netlinx/compiler_result.rb +16 -17
  37. data/lib/netlinx/rake/compile.rb +4 -0
  38. data/lib/netlinx/rake/compile/compile.rb +34 -0
  39. data/lib/netlinx/source_file.rb +20 -14
  40. data/lib/test/netlinx/compilable.rb +13 -48
  41. data/lib/test/netlinx/compile/discoverable.rb +3 -14
  42. data/lib/test/netlinx/compile/invokable.rb +3 -15
  43. data/license.txt +1 -1
  44. metadata +114 -74
  45. data/README.txt +0 -2
  46. data/doc/Test.html +0 -147
  47. data/doc/Test/NetLinx.html +0 -147
  48. data/doc/Test/NetLinx/Compilable.html +0 -148
  49. data/doc/Test/NetLinx/Compile.html +0 -146
  50. data/doc/Test/NetLinx/Compile/Discoverable.html +0 -148
  51. data/doc/Test/NetLinx/Compile/Invokable.html +0 -149
  52. data/doc/created.rid +0 -12
  53. data/doc/images/add.png +0 -0
  54. data/doc/images/arrow_up.png +0 -0
  55. data/doc/images/brick.png +0 -0
  56. data/doc/images/brick_link.png +0 -0
  57. data/doc/images/bug.png +0 -0
  58. data/doc/images/bullet_black.png +0 -0
  59. data/doc/images/bullet_toggle_minus.png +0 -0
  60. data/doc/images/bullet_toggle_plus.png +0 -0
  61. data/doc/images/date.png +0 -0
  62. data/doc/images/delete.png +0 -0
  63. data/doc/images/find.png +0 -0
  64. data/doc/images/loadingAnimation.gif +0 -0
  65. data/doc/images/macFFBgHack.png +0 -0
  66. data/doc/images/package.png +0 -0
  67. data/doc/images/page_green.png +0 -0
  68. data/doc/images/page_white_text.png +0 -0
  69. data/doc/images/page_white_width.png +0 -0
  70. data/doc/images/plugin.png +0 -0
  71. data/doc/images/ruby.png +0 -0
  72. data/doc/images/tag_blue.png +0 -0
  73. data/doc/images/tag_green.png +0 -0
  74. data/doc/images/transparent.png +0 -0
  75. data/doc/images/wrench.png +0 -0
  76. data/doc/images/wrench_orange.png +0 -0
  77. data/doc/images/zoom.png +0 -0
  78. data/doc/js/darkfish.js +0 -155
  79. data/doc/js/navigation.js +0 -142
  80. data/doc/js/search.js +0 -94
  81. data/doc/js/search_index.js +0 -1
  82. data/doc/js/searcher.js +0 -228
  83. data/doc/rdoc.css +0 -595
  84. data/doc/table_of_contents.html +0 -138
@@ -1,293 +1,442 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>class NetLinx::Compile::Script - RDoc Documentation</title>
8
-
9
- <link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
10
-
11
- <script type="text/javascript">
12
- var rdoc_rel_prefix = "../../";
13
- </script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
21
-
22
-
23
- <body id="top" class="class">
24
- <nav id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="../../index.html">Home</a>
28
- <a href="../../table_of_contents.html#classes">Classes</a>
29
- <a href="../../table_of_contents.html#methods">Methods</a>
30
- </h3>
31
- </nav>
32
-
33
-
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
35
- <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
38
- title="Type to search, Up and Down to navigate, Enter to load">
39
- </h3>
40
- </form>
41
-
42
- <ul id="search-results" class="initially-hidden"></ul>
43
- </nav>
44
-
45
-
46
-
47
-
48
- <div id="file-metadata">
49
- <nav id="file-list-section" class="section">
50
- <h3 class="section-header">Defined In</h3>
51
- <ul>
52
- <li>lib/netlinx/compile/script.rb
53
- </ul>
54
- </nav>
55
-
56
-
57
- </div>
58
-
59
- <div id="class-metadata">
60
-
61
- <nav id="parent-class-section" class="section">
62
- <h3 class="section-header">Parent</h3>
63
-
64
- <p class="link">Object
65
-
66
- </nav>
67
-
68
-
69
-
70
- <!-- Method Quickref -->
71
- <nav id="method-list-section" class="section">
72
- <h3 class="section-header">Methods</h3>
73
-
74
- <ul class="link-list">
75
-
76
- <li ><a href="#method-c-run">::run</a>
77
-
78
- </ul>
79
- </nav>
80
-
81
- </div>
82
-
83
- <div id="project-metadata">
84
-
85
- <nav id="classindex-section" class="section project-section">
86
- <h3 class="section-header">Class and Module Index</h3>
87
-
88
- <ul class="link-list">
89
-
90
- <li><a href="../../NetLinx.html">NetLinx</a>
91
-
92
- <li><a href="../../NetLinx/Compile.html">NetLinx::Compile</a>
93
-
94
- <li><a href="../../NetLinx/Compile/Extension.html">NetLinx::Compile::Extension</a>
95
-
96
- <li><a href="../../NetLinx/Compile/Extension/AXS.html">NetLinx::Compile::Extension::AXS</a>
97
-
98
- <li><a href="../../NetLinx/Compile/ExtensionDiscovery.html">NetLinx::Compile::ExtensionDiscovery</a>
99
-
100
- <li><a href="../../NetLinx/Compile/ExtensionHandler.html">NetLinx::Compile::ExtensionHandler</a>
101
-
102
- <li><a href="../../NetLinx/Compile/Script.html">NetLinx::Compile::Script</a>
103
-
104
- <li><a href="../../NetLinx/Compiler.html">NetLinx::Compiler</a>
105
-
106
- <li><a href="../../NetLinx/CompilerResult.html">NetLinx::CompilerResult</a>
107
-
108
- <li><a href="../../NetLinx/NoCompilerError.html">NetLinx::NoCompilerError</a>
109
-
110
- <li><a href="../../NetLinx/SourceFile.html">NetLinx::SourceFile</a>
111
-
112
- <li><a href="../../Test.html">Test</a>
113
-
114
- <li><a href="../../Test/NetLinx.html">Test::NetLinx</a>
115
-
116
- <li><a href="../../Test/NetLinx/Compilable.html">Test::NetLinx::Compilable</a>
117
-
118
- <li><a href="../../Test/NetLinx/Compile.html">Test::NetLinx::Compile</a>
119
-
120
- <li><a href="../../Test/NetLinx/Compile/Discoverable.html">Test::NetLinx::Compile::Discoverable</a>
121
-
122
- <li><a href="../../Test/NetLinx/Compile/Invokable.html">Test::NetLinx::Compile::Invokable</a>
123
-
124
- </ul>
125
- </nav>
126
-
127
- </div>
128
- </nav>
129
-
130
- <div id="documentation">
131
- <h1 class="class">class NetLinx::Compile::Script</h1>
132
-
133
- <div id="description" class="description">
134
-
135
- <p>The container for the script that runs when netlinx-compile is executed.</p>
136
-
137
- </div><!-- description -->
138
-
139
-
140
-
141
-
142
- <section id="5Buntitled-5D" class="documentation-section">
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
- <!-- Methods -->
152
-
153
- <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
154
- <h3 class="section-header">Public Class Methods</h3>
155
-
156
-
157
- <div id="method-c-run" class="method-detail ">
158
-
159
- <div class="method-heading">
160
- <span class="method-name">run</span><span
161
- class="method-args">(**kvargs)</span>
162
-
163
- <span class="method-click-advice">click to toggle source</span>
164
-
165
- </div>
166
-
167
-
168
- <div class="method-description">
169
-
170
- <p>Run the script.</p>
171
-
172
-
173
-
174
-
175
- <div class="method-source-code" id="run-source">
176
- <pre><span class="ruby-comment"># File lib/netlinx/compile/script.rb, line 13</span>
177
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">run</span>(<span class="ruby-operator">**</span><span class="ruby-identifier">kvargs</span>)
178
- <span class="ruby-comment"># :argv is a convenience to override ARGV, like for testing.</span>
179
- <span class="ruby-identifier">args</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:argv</span>, <span class="ruby-constant">ARGV</span>
180
-
181
- <span class="ruby-comment"># Command line options.</span>
182
- <span class="ruby-ivar">@options</span> = <span class="ruby-constant">OpenStruct</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">source</span><span class="ruby-operator">:</span> <span class="ruby-string">&#39;&#39;</span>,
183
- <span class="ruby-identifier">include_paths</span><span class="ruby-operator">:</span> [],
184
- <span class="ruby-identifier">use_workspace</span><span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
185
-
186
- <span class="ruby-constant">OptionParser</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">opts</span><span class="ruby-operator">|</span>
187
- <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">banner</span> = <span class="ruby-string">&quot;Usage: netlinx-compile [options]&quot;</span>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: NetLinx::Compile::Script
8
+
9
+ &mdash; Documentation by YARD 0.9.25
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "NetLinx::Compile::Script";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../_index.html">Index (S)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Compile.html" title="NetLinx::Compile (module)">Compile</a></span></span>
41
+ &raquo;
42
+ <span class="title">Script</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: NetLinx::Compile::Script
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">NetLinx::Compile::Script</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/netlinx/compile/script.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
+
105
+ <p>The container for the script that runs when netlinx-compile is executed.</p>
106
+
107
+
108
+ </div>
109
+ </div>
110
+ <div class="tags">
111
+
112
+
113
+ </div>
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+ <h2>
122
+ Class Method Summary
123
+ <small><a href="#" class="summary_toggle">collapse</a></small>
124
+ </h2>
125
+
126
+ <ul class="summary">
127
+
128
+ <li class="public ">
129
+ <span class="summary_signature">
130
+
131
+ <a href="#run-class_method" title="run (class method)">.<strong>run</strong>(**kwargs) &#x21d2; Object </a>
132
+
133
+
134
+
135
+ </span>
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <span class="summary_desc"><div class='inline'>
146
+ <p>Run the script.</p>
147
+ </div></span>
148
+
149
+ </li>
150
+
151
+
152
+ </ul>
153
+
154
+
155
+
156
+
157
+ <div id="class_method_details" class="method_details_list">
158
+ <h2>Class Method Details</h2>
159
+
160
+
161
+ <div class="method_details first">
162
+ <h3 class="signature first" id="run-class_method">
163
+
164
+ .<strong>run</strong>(**kwargs) &#x21d2; <tt>Object</tt>
165
+
166
+
167
+
168
+
169
+
170
+ </h3><div class="docstring">
171
+ <div class="discussion">
172
+
173
+ <p>Run the script.</p>
174
+
175
+
176
+ </div>
177
+ </div>
178
+ <div class="tags">
179
+ <p class="tag_title">Parameters:</p>
180
+ <ul class="param">
181
+
182
+ <li>
183
+
184
+ <span class='name'>kwargs</span>
185
+
186
+
187
+ <span class='type'>(<tt>Hash</tt>)</span>
188
+
189
+
190
+
191
+ &mdash;
192
+ <div class='inline'>
193
+ <p>a customizable set of options</p>
194
+ </div>
195
+
196
+ </li>
197
+
198
+ </ul>
199
+
200
+
201
+
202
+
203
+ <p class="tag_title">Options Hash (<tt>**kwargs</tt>):</p>
204
+ <ul class="option">
205
+
206
+ <li>
207
+ <span class="name">:argv</span>
208
+ <span class="type">(<tt>Array&lt;String&gt;</tt>)</span>
209
+ <span class="default">
210
+
211
+ </span>
212
+
213
+ &mdash; <div class='inline'>
214
+ <p>A convenience to override ARGV, like for testing.</p>
215
+ </div>
216
+
217
+ </li>
218
+
219
+ </ul>
220
+
221
+
222
+
223
+ </div><table class="source_code">
224
+ <tr>
225
+ <td>
226
+ <pre class="lines">
227
+
228
+
229
+ 15
230
+ 16
231
+ 17
232
+ 18
233
+ 19
234
+ 20
235
+ 21
236
+ 22
237
+ 23
238
+ 24
239
+ 25
240
+ 26
241
+ 27
242
+ 28
243
+ 29
244
+ 30
245
+ 31
246
+ 32
247
+ 33
248
+ 34
249
+ 35
250
+ 36
251
+ 37
252
+ 38
253
+ 39
254
+ 40
255
+ 41
256
+ 42
257
+ 43
258
+ 44
259
+ 45
260
+ 46
261
+ 47
262
+ 48
263
+ 49
264
+ 50
265
+ 51
266
+ 52
267
+ 53
268
+ 54
269
+ 55
270
+ 56
271
+ 57
272
+ 58
273
+ 59
274
+ 60
275
+ 61
276
+ 62
277
+ 63
278
+ 64
279
+ 65
280
+ 66
281
+ 67
282
+ 68
283
+ 69
284
+ 70
285
+ 71
286
+ 72
287
+ 73
288
+ 74
289
+ 75
290
+ 76
291
+ 77
292
+ 78
293
+ 79
294
+ 80
295
+ 81
296
+ 82
297
+ 83
298
+ 84
299
+ 85
300
+ 86
301
+ 87
302
+ 88
303
+ 89
304
+ 90
305
+ 91
306
+ 92
307
+ 93
308
+ 94
309
+ 95
310
+ 96
311
+ 97
312
+ 98
313
+ 99
314
+ 100
315
+ 101
316
+ 102
317
+ 103
318
+ 104
319
+ 105
320
+ 106
321
+ 107
322
+ 108
323
+ 109
324
+ 110</pre>
325
+ </td>
326
+ <td>
327
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compile/script.rb', line 15</span>
328
+
329
+ <span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='rparen'>)</span>
330
+ <span class='id identifier rubyid_args'>args</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:argv</span><span class='comma'>,</span> <span class='const'>ARGV</span>
331
+
332
+ <span class='comment'># Command line options.
333
+ </span> <span class='ivar'>@options</span> <span class='op'>=</span> <span class='const'>OpenStruct</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> \
334
+ <span class='label'>source:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
335
+ <span class='label'>include_paths:</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span>
336
+ <span class='label'>use_workspace:</span> <span class='kw'>false</span>
337
+
338
+ <span class='const'>OptionParser</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_opts'>opts</span><span class='op'>|</span>
339
+ <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_banner'>banner</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Usage: netlinx-compile [options]</span><span class='tstring_end'>&quot;</span></span>
188
340
 
189
- <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span> <span class="ruby-string">&#39;-h&#39;</span>, <span class="ruby-string">&#39;--help&#39;</span>, <span class="ruby-string">&#39;Display this help screen.&#39;</span> <span class="ruby-keyword">do</span>
190
- <span class="ruby-identifier">puts</span> <span class="ruby-identifier">opts</span>
191
- <span class="ruby-identifier">exit</span>
192
- <span class="ruby-keyword">end</span>
341
+ <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-h</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--help</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Display this help screen.</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>do</span>
342
+ <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_opts'>opts</span>
343
+ <span class='id identifier rubyid_exit'>exit</span>
344
+ <span class='kw'>end</span>
193
345
 
194
- <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span> <span class="ruby-string">&#39;-s&#39;</span>, <span class="ruby-string">&#39;--source FILE&#39;</span>, <span class="ruby-string">&#39;Source file to compile.&#39;</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
195
- <span class="ruby-ivar">@options</span>.<span class="ruby-identifier">source</span> = <span class="ruby-identifier">v</span>
196
- <span class="ruby-keyword">end</span>
346
+ <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-s</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--source FILE</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Source file to compile.</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
347
+ <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_source'>source</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
348
+ <span class='kw'>end</span>
197
349
 
198
- <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span> <span class="ruby-string">&#39;-i&#39;</span>, <span class="ruby-string">&#39;--include [Path1,Path2]&#39;</span>, <span class="ruby-constant">Array</span>, <span class="ruby-string">&#39;Additional include and module paths.&#39;</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
199
- <span class="ruby-ivar">@options</span>.<span class="ruby-identifier">include_paths</span> = <span class="ruby-identifier">v</span>
200
- <span class="ruby-keyword">end</span>
350
+ <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-i</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--include [Path1,Path2]</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='const'>Array</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Additional include and module paths.</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
351
+ <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_include_paths'>include_paths</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
352
+ <span class='kw'>end</span>
201
353
 
202
- <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">on</span> <span class="ruby-string">&#39;-w&#39;</span>, <span class="ruby-string">&#39;--workspace&#39;</span>, <span class="ruby-string">&#39;--smart&#39;</span>,
203
- <span class="ruby-string">&#39;Search up directory tree for a workspace&#39;</span>,
204
- <span class="ruby-string">&#39;containing the source file.&#39;</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
205
- <span class="ruby-ivar">@options</span>.<span class="ruby-identifier">use_workspace</span> = <span class="ruby-identifier">v</span>
206
- <span class="ruby-keyword">end</span>
354
+ <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_on'>on</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-w</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--workspace</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>--smart</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
355
+ <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Search up directory tree for a workspace</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
356
+ <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>containing the source file.</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
357
+ <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_use_workspace'>use_workspace</span> <span class='op'>=</span> <span class='id identifier rubyid_v'>v</span>
358
+ <span class='kw'>end</span>
207
359
 
208
- <span class="ruby-keyword">end</span>.<span class="ruby-identifier">parse!</span> <span class="ruby-identifier">args</span>
209
-
210
- <span class="ruby-keyword">if</span> <span class="ruby-ivar">@options</span>.<span class="ruby-identifier">source</span>.<span class="ruby-identifier">empty?</span>
211
- <span class="ruby-identifier">puts</span> <span class="ruby-string">&quot;No source file specified.\nRun \&quot;netlinx-compile -h\&quot; for help.&quot;</span>
212
- <span class="ruby-identifier">exit</span>
213
- <span class="ruby-keyword">end</span>
214
-
215
- <span class="ruby-comment"># Find an ExtensionHandler for the given file.</span>
216
- <span class="ruby-constant">ExtensionDiscovery</span>.<span class="ruby-identifier">discover</span>
217
- <span class="ruby-identifier">source_file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span> <span class="ruby-ivar">@options</span>.<span class="ruby-identifier">source</span>
218
- <span class="ruby-identifier">handler</span> = <span class="ruby-constant">NetLinx</span><span class="ruby-operator">::</span><span class="ruby-constant">Compile</span><span class="ruby-operator">::</span><span class="ruby-constant">ExtensionDiscovery</span>.<span class="ruby-identifier">get_handler</span> <span class="ruby-identifier">source_file</span>
219
-
220
- <span class="ruby-comment"># If the handler is a workspace handler, go straight to compiling it.</span>
221
- <span class="ruby-comment"># Otherwise, if the use_workspace flag is true, search up through the</span>
222
- <span class="ruby-comment"># directory tree to try to find a workspace that includes the</span>
223
- <span class="ruby-comment"># specified source file.</span>
224
- <span class="ruby-keyword">if</span> (<span class="ruby-keyword">not</span> <span class="ruby-identifier">handler</span>.<span class="ruby-identifier">is_a_workspace?</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@options</span>.<span class="ruby-identifier">use_workspace</span>
225
- <span class="ruby-identifier">workspace_extensions</span> = <span class="ruby-constant">NetLinx</span><span class="ruby-operator">::</span><span class="ruby-constant">Compile</span><span class="ruby-operator">::</span><span class="ruby-constant">ExtensionDiscovery</span>.<span class="ruby-identifier">workspace_extensions</span>
360
+ <span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_parse!'>parse!</span> <span class='id identifier rubyid_args'>args</span>
361
+
362
+ <span class='kw'>if</span> <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_source'>source</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
363
+ <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>No source file specified.\nRun \&quot;netlinx-compile -h\&quot; for help.</span><span class='tstring_end'>&quot;</span></span>
364
+ <span class='id identifier rubyid_exit'>exit</span>
365
+ <span class='kw'>end</span>
366
+
367
+ <span class='comment'># Find an ExtensionHandler for the given file.
368
+ </span> <span class='const'><span class='object_link'><a href="ExtensionDiscovery.html" title="NetLinx::Compile::ExtensionDiscovery (class)">ExtensionDiscovery</a></span></span><span class='period'>.</span><span class='id identifier rubyid_discover'><span class='object_link'><a href="ExtensionDiscovery.html#discover-class_method" title="NetLinx::Compile::ExtensionDiscovery.discover (method)">discover</a></span></span>
369
+ <span class='id identifier rubyid_source_file'>source_file</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_source'>source</span>
370
+ <span class='id identifier rubyid_handler'>handler</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Compile.html" title="NetLinx::Compile (module)">Compile</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ExtensionDiscovery.html" title="NetLinx::Compile::ExtensionDiscovery (class)">ExtensionDiscovery</a></span></span><span class='period'>.</span><span class='id identifier rubyid_get_handler'><span class='object_link'><a href="ExtensionDiscovery.html#get_handler-class_method" title="NetLinx::Compile::ExtensionDiscovery.get_handler (method)">get_handler</a></span></span> <span class='id identifier rubyid_source_file'>source_file</span>
371
+
372
+ <span class='comment'># If the handler is a workspace handler, go straight to compiling it.
373
+ </span> <span class='comment'># Otherwise, if the use_workspace flag is true, search up through the
374
+ </span> <span class='comment'># directory tree to try to find a workspace that includes the
375
+ </span> <span class='comment'># specified source file.
376
+ </span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='kw'>not</span> <span class='id identifier rubyid_handler'>handler</span><span class='period'>.</span><span class='id identifier rubyid_is_a_workspace?'>is_a_workspace?</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_use_workspace'>use_workspace</span>
377
+ <span class='id identifier rubyid_workspace_extensions'>workspace_extensions</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Compile.html" title="NetLinx::Compile (module)">Compile</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ExtensionDiscovery.html" title="NetLinx::Compile::ExtensionDiscovery (class)">ExtensionDiscovery</a></span></span><span class='period'>.</span><span class='id identifier rubyid_workspace_extensions'><span class='object_link'><a href="ExtensionDiscovery.html#workspace_extensions-class_method" title="NetLinx::Compile::ExtensionDiscovery.workspace_extensions (method)">workspace_extensions</a></span></span>
226
378
 
227
- <span class="ruby-identifier">dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span> <span class="ruby-string">&#39;.&#39;</span>
228
- <span class="ruby-keyword">while</span> <span class="ruby-identifier">dir</span> <span class="ruby-operator">!=</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-string">&#39;..&#39;</span>, <span class="ruby-identifier">dir</span>) <span class="ruby-keyword">do</span>
229
- <span class="ruby-identifier">workspaces</span> = <span class="ruby-constant">Dir</span>[<span class="ruby-node">&quot;#{dir}/*.{#{workspace_extensions.join &#39;,&#39;}}&quot;</span>]
379
+ <span class='id identifier rubyid_dir'>dir</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>.</span><span class='tstring_end'>&#39;</span></span>
380
+ <span class='kw'>while</span> <span class='id identifier rubyid_dir'>dir</span> <span class='op'>!=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>..</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_dir'>dir</span><span class='rparen'>)</span> <span class='kw'>do</span>
381
+ <span class='id identifier rubyid_workspaces'>workspaces</span> <span class='op'>=</span> <span class='const'>Dir</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_dir'>dir</span><span class='embexpr_end'>}</span><span class='tstring_content'>/*.{</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_workspace_extensions'>workspace_extensions</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>,</span><span class='tstring_end'>&#39;</span></span><span class='embexpr_end'>}</span><span class='tstring_content'>}</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
230
382
 
231
- <span class="ruby-keyword">unless</span> <span class="ruby-identifier">workspaces</span>.<span class="ruby-identifier">empty?</span>
232
- <span class="ruby-comment"># TODO: Handle workspace file extension usurping logic here.</span>
233
-
234
- <span class="ruby-identifier">new_source_file</span> = <span class="ruby-identifier">workspaces</span>.<span class="ruby-identifier">first</span>
235
- <span class="ruby-identifier">new_handler</span> = <span class="ruby-constant">NetLinx</span><span class="ruby-operator">::</span><span class="ruby-constant">Compile</span><span class="ruby-operator">::</span><span class="ruby-constant">ExtensionDiscovery</span>.<span class="ruby-identifier">get_handler</span> <span class="ruby-identifier">new_source_file</span>
236
- <span class="ruby-identifier">new_handler_class</span> = <span class="ruby-identifier">new_handler</span>.<span class="ruby-identifier">handler_class</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">file</span><span class="ruby-operator">:</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">new_source_file</span>)
383
+ <span class='kw'>unless</span> <span class='id identifier rubyid_workspaces'>workspaces</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
384
+ <span class='comment'># TODO: Handle workspace file extension usurping logic here.
385
+ </span>
386
+ <span class='id identifier rubyid_new_source_file'>new_source_file</span> <span class='op'>=</span> <span class='id identifier rubyid_workspaces'>workspaces</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
387
+ <span class='id identifier rubyid_new_handler'>new_handler</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Compile.html" title="NetLinx::Compile (module)">Compile</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ExtensionDiscovery.html" title="NetLinx::Compile::ExtensionDiscovery (class)">ExtensionDiscovery</a></span></span><span class='period'>.</span><span class='id identifier rubyid_get_handler'><span class='object_link'><a href="ExtensionDiscovery.html#get_handler-class_method" title="NetLinx::Compile::ExtensionDiscovery.get_handler (method)">get_handler</a></span></span> <span class='id identifier rubyid_new_source_file'>new_source_file</span>
388
+ <span class='id identifier rubyid_new_handler_class'>new_handler_class</span> <span class='op'>=</span> <span class='id identifier rubyid_new_handler'>new_handler</span><span class='period'>.</span><span class='id identifier rubyid_handler_class'>handler_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> \
389
+ <span class='label'>file:</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='id identifier rubyid_new_source_file'>new_source_file</span><span class='rparen'>)</span>
237
390
 
238
- <span class="ruby-comment"># If supported by the new_handler, make sure the source_file is</span>
239
- <span class="ruby-comment"># included in the workspace before overwriting the old handler.</span>
240
- <span class="ruby-identifier">overwrite_old_handler</span> = <span class="ruby-keyword">false</span>
391
+ <span class='comment'># If supported by the new_handler, make sure the source_file is
392
+ </span> <span class='comment'># included in the workspace before overwriting the old handler.
393
+ </span> <span class='id identifier rubyid_overwrite_old_handler'>overwrite_old_handler</span> <span class='op'>=</span> <span class='kw'>false</span>
241
394
 
242
- <span class="ruby-keyword">if</span> <span class="ruby-identifier">new_handler_class</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-value">:include?</span>
243
- <span class="ruby-identifier">overwrite_old_handler</span> = <span class="ruby-keyword">true</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">new_handler_class</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">source_file</span>
244
- <span class="ruby-keyword">else</span>
245
- <span class="ruby-comment"># Workspace doesn&#39;t expose an interface to see if it</span>
246
- <span class="ruby-comment"># includes the source file, so assume it does.</span>
247
- <span class="ruby-comment"># Otherwise the user could have compiled without the</span>
248
- <span class="ruby-comment"># workspace flag.</span>
249
- <span class="ruby-identifier">overwrite_old_handler</span> = <span class="ruby-keyword">true</span>
250
- <span class="ruby-keyword">end</span>
395
+ <span class='kw'>if</span> <span class='id identifier rubyid_new_handler_class'>new_handler_class</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span> <span class='symbol'>:include?</span>
396
+ <span class='id identifier rubyid_overwrite_old_handler'>overwrite_old_handler</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='id identifier rubyid_new_handler_class'>new_handler_class</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span> <span class='id identifier rubyid_source_file'>source_file</span>
397
+ <span class='kw'>else</span>
398
+ <span class='comment'># Workspace doesn&#39;t expose an interface to see if it
399
+ </span> <span class='comment'># includes the source file, so assume it does.
400
+ </span> <span class='comment'># Otherwise the user could have compiled without the
401
+ </span> <span class='comment'># workspace flag.
402
+ </span> <span class='id identifier rubyid_overwrite_old_handler'>overwrite_old_handler</span> <span class='op'>=</span> <span class='kw'>true</span>
403
+ <span class='kw'>end</span>
251
404
 
252
- <span class="ruby-keyword">if</span> <span class="ruby-identifier">overwrite_old_handler</span>
253
- <span class="ruby-identifier">source_file</span> = <span class="ruby-identifier">new_source_file</span>
254
- <span class="ruby-identifier">handler</span> = <span class="ruby-identifier">new_handler</span>
255
- <span class="ruby-identifier">handler_class</span> = <span class="ruby-identifier">new_handler_class</span>
256
- <span class="ruby-keyword">break</span>
257
- <span class="ruby-keyword">end</span>
258
- <span class="ruby-keyword">end</span>
405
+ <span class='kw'>if</span> <span class='id identifier rubyid_overwrite_old_handler'>overwrite_old_handler</span>
406
+ <span class='id identifier rubyid_source_file'>source_file</span> <span class='op'>=</span> <span class='id identifier rubyid_new_source_file'>new_source_file</span>
407
+ <span class='id identifier rubyid_handler'>handler</span> <span class='op'>=</span> <span class='id identifier rubyid_new_handler'>new_handler</span>
408
+ <span class='id identifier rubyid_handler_class'>handler_class</span> <span class='op'>=</span> <span class='id identifier rubyid_new_handler_class'>new_handler_class</span>
409
+ <span class='kw'>break</span>
410
+ <span class='kw'>end</span>
411
+ <span class='kw'>end</span>
259
412
 
260
- <span class="ruby-identifier">dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span> <span class="ruby-string">&#39;..&#39;</span>, <span class="ruby-identifier">dir</span>
261
- <span class="ruby-keyword">end</span>
262
- <span class="ruby-keyword">end</span>
263
-
264
- <span class="ruby-comment"># Instantiate the class that can handle compiling of the file.</span>
265
- <span class="ruby-identifier">handler_class</span> = <span class="ruby-identifier">handler</span>.<span class="ruby-identifier">handler_class</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">file</span><span class="ruby-operator">:</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">source_file</span>)
266
-
267
- <span class="ruby-identifier">result</span> = <span class="ruby-identifier">handler_class</span>.<span class="ruby-identifier">compile</span>
268
-
269
- <span class="ruby-identifier">result</span>.<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">to_s</span>}
270
- <span class="ruby-keyword">end</span></pre>
271
- </div><!-- run-source -->
272
-
273
- </div>
274
-
275
-
276
-
277
-
278
- </div><!-- run-method -->
279
-
280
-
281
- </section><!-- public-class-method-details -->
282
-
283
- </section><!-- 5Buntitled-5D -->
284
-
285
- </div><!-- documentation -->
286
-
287
-
288
- <footer id="validator-badges">
289
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
290
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
291
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
292
- </footer>
293
-
413
+ <span class='id identifier rubyid_dir'>dir</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>..</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_dir'>dir</span>
414
+ <span class='kw'>end</span>
415
+ <span class='kw'>end</span>
416
+
417
+ <span class='comment'># Instantiate the class that can handle compiling of the file.
418
+ </span> <span class='id identifier rubyid_handler_class'>handler_class</span> <span class='op'>=</span> <span class='id identifier rubyid_handler'>handler</span><span class='period'>.</span><span class='id identifier rubyid_handler_class'>handler_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> \
419
+ <span class='label'>file:</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='id identifier rubyid_source_file'>source_file</span><span class='rparen'>)</span>
420
+
421
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_handler_class'>handler_class</span><span class='period'>.</span><span class='id identifier rubyid_compile'>compile</span>
422
+
423
+ <span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_r'>r</span><span class='op'>|</span> <span class='id identifier rubyid_r'>r</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rbrace'>}</span>
424
+ <span class='kw'>end</span></pre>
425
+ </td>
426
+ </tr>
427
+ </table>
428
+ </div>
429
+
430
+ </div>
431
+
432
+ </div>
433
+
434
+ <div id="footer">
435
+ Generated on Sat Jul 11 17:29:50 2020 by
436
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
437
+ 0.9.25 (ruby-2.7.1).
438
+ </div>
439
+
440
+ </div>
441
+ </body>
442
+ </html>