netlinx-compile 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +91 -6
  3. data/doc/NetLinx.html +6 -6
  4. data/doc/NetLinx/Compile.html +6 -6
  5. data/doc/NetLinx/Compile/Extension.html +6 -6
  6. data/doc/NetLinx/Compile/Extension/AXS.html +6 -6
  7. data/doc/NetLinx/Compile/ExtensionDiscovery.html +21 -24
  8. data/doc/NetLinx/Compile/ExtensionHandler.html +20 -41
  9. data/doc/NetLinx/Compile/Script.html +6 -6
  10. data/doc/NetLinx/Compiler.html +9 -13
  11. data/doc/NetLinx/CompilerResult.html +7 -7
  12. data/doc/NetLinx/NoCompilerError.html +6 -6
  13. data/doc/NetLinx/Rake.html +6 -6
  14. data/doc/NetLinx/Rake/Compile.html +9 -10
  15. data/doc/NetLinx/SourceFile.html +39 -33
  16. data/doc/_index.html +7 -7
  17. data/doc/class_list.html +2 -2
  18. data/doc/css/style.css +6 -9
  19. data/doc/file.README.html +71 -29
  20. data/doc/file.license.html +6 -6
  21. data/doc/file_list.html +2 -2
  22. data/doc/frames.html +2 -2
  23. data/doc/index.html +71 -29
  24. data/doc/js/app.js +69 -3
  25. data/doc/method_list.html +22 -22
  26. data/doc/top-level-namespace.html +6 -6
  27. data/lib/netlinx/source_file.rb +4 -0
  28. metadata +9 -49
  29. data/doc/Test.html +0 -147
  30. data/doc/Test/NetLinx.html +0 -147
  31. data/doc/Test/NetLinx/Compilable.html +0 -148
  32. data/doc/Test/NetLinx/Compile.html +0 -146
  33. data/doc/Test/NetLinx/Compile/Discoverable.html +0 -148
  34. data/doc/Test/NetLinx/Compile/Invokable.html +0 -149
  35. data/doc/created.rid +0 -12
  36. data/doc/images/add.png +0 -0
  37. data/doc/images/arrow_up.png +0 -0
  38. data/doc/images/brick.png +0 -0
  39. data/doc/images/brick_link.png +0 -0
  40. data/doc/images/bug.png +0 -0
  41. data/doc/images/bullet_black.png +0 -0
  42. data/doc/images/bullet_toggle_minus.png +0 -0
  43. data/doc/images/bullet_toggle_plus.png +0 -0
  44. data/doc/images/date.png +0 -0
  45. data/doc/images/delete.png +0 -0
  46. data/doc/images/find.png +0 -0
  47. data/doc/images/loadingAnimation.gif +0 -0
  48. data/doc/images/macFFBgHack.png +0 -0
  49. data/doc/images/package.png +0 -0
  50. data/doc/images/page_green.png +0 -0
  51. data/doc/images/page_white_text.png +0 -0
  52. data/doc/images/page_white_width.png +0 -0
  53. data/doc/images/plugin.png +0 -0
  54. data/doc/images/ruby.png +0 -0
  55. data/doc/images/tag_blue.png +0 -0
  56. data/doc/images/tag_green.png +0 -0
  57. data/doc/images/transparent.png +0 -0
  58. data/doc/images/wrench.png +0 -0
  59. data/doc/images/wrench_orange.png +0 -0
  60. data/doc/images/zoom.png +0 -0
  61. data/doc/js/darkfish.js +0 -155
  62. data/doc/js/navigation.js +0 -142
  63. data/doc/js/search.js +0 -94
  64. data/doc/js/search_index.js +0 -1
  65. data/doc/js/searcher.js +0 -228
  66. data/doc/rdoc.css +0 -595
  67. data/doc/table_of_contents.html +0 -138
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3d852b0d08c54dd00e2c320972b535787a61a3da
4
- data.tar.gz: c73b7ccc4378daa417e859949b09cd3b30af461b
2
+ SHA256:
3
+ metadata.gz: 070bead5068bd6344d281e4310fa5c8b0a73aa14edd370979d2f26533c820766
4
+ data.tar.gz: 63b6c36466a42c73f8aab382daa5df89090340d4e49ecb5df2f705d423b683d9
5
5
  SHA512:
6
- metadata.gz: ae1c86c12eef2118253254ec8eb4395c6489f0eea5afca55c0c1649fc053c186d5a2a9d7c25da896f31407e4a03426baa4f0e4fcf5b24c0748ce65db54364848
7
- data.tar.gz: e5f62bf0865b8c330b0d95f90b77202e7db33c5560e41cdc09bab4ef8d309dccc07705988f9a0fd9f6b67b6f7dd696c11066fb8f6e5bf7078ab6fa9d09378a59
6
+ metadata.gz: 10927c4db370d334a27fb6d339557c5752544b460d67e435f439364308b3270ca676ce133f7447d428f4570eabe7f4759fb63902673f06562bed65f05d69d3b4
7
+ data.tar.gz: dd28630c197c1d6dd642c91f4ce8a7021fd73b196430bf24526c8684a4f21ff1b15bf823a7c1c76c2fffd3b3394f20d920937ded45df7b53d9bd85769172207e
data/README.md CHANGED
@@ -5,6 +5,8 @@ netlinx-compile
5
5
  A wrapper utility for the AMX NetLinx compiler.
6
6
 
7
7
  [![Gem Version](https://badge.fury.io/rb/netlinx-compile.png)](http://badge.fury.io/rb/netlinx-compile)
8
+ [![API Documentation](https://img.shields.io/badge/docs-api-blue.svg)](http://www.rubydoc.info/gems/netlinx-compile)
9
+ [![Apache 2.0 License](https://img.shields.io/badge/license-Apache%202.0-yellowgreen.svg)](http://www.apache.org/licenses/LICENSE-2.0)
8
10
 
9
11
  This library provides an executable, `netlinx-compile`, that wraps the `nlrc.exe`
10
12
  NetLinx compiler provided by AMX. It is designed for easier command line access,
@@ -20,10 +22,11 @@ AMX has broken NetLinx compilier functionality between NLRC.exe v1.0
20
22
  NetLinx Studio 4). NLRC.exe v2.x was distributed with NetLinx Studio 4 versions
21
23
  less than 4.1.1204, and has major problems. It is recommended to *avoid*
22
24
  NLRC.exe v2.x. NLRC.exe v3.x started being distributed in NetLinx Studio
23
- v4.1.1204 and appears to have fixed the problems when compiling include and Duet
24
- files. Due to the major changes in the NetLinx compiler, it may be necessary
25
- to use version 1.x of netlinx-compile when working with projects created with
26
- NetLinx Studio v3.x or earlier.
25
+ v4.1.1204 and appears to have [fixed the problems when compiling include and
26
+ Duet files](https://github.com/amclain/netlinx-compile/issues/1). Due to the
27
+ major changes in the NetLinx compiler, it may be necessary to use version 1.x of
28
+ netlinx-compile when working with projects created with NetLinx Studio v3.x or
29
+ earlier.
27
30
 
28
31
  * Version 1.x of netlinx-compile targets NLRC.exe v1.x.
29
32
  * NLRC.exe v2.x is considered broken and is unsupported by netlinx-compile.
@@ -32,6 +35,88 @@ NetLinx Studio v3.x or earlier.
32
35
  [AMX NetLinx Compiler Bug List](https://github.com/amclain/netlinx-compile/labels/amx%20bug%20-%20can't%20fix)
33
36
 
34
37
 
35
- ## Documentation
38
+ ## Installation
36
39
 
37
- [https://sourceforge.net/p/netlinx-compile/wiki/Home/](https://sourceforge.net/p/netlinx-compile/wiki/Home/)
40
+ netlinx-compile is available as a Ruby gem.
41
+
42
+ 1. Install [Ruby](http://www.ruby-lang.org/en/downloads/) 2.0 or higher
43
+ (For Windows use [RubyInstaller](http://rubyinstaller.org/downloads/) and make
44
+ sure ruby/bin is in your [system path](http://www.computerhope.com/issues/ch000549.htm).)
45
+ 2. Open the [command line](http://www.addictivetips.com/windows-tips/windows-7-elevated-command-prompt-in-context-menu/) and type:
46
+
47
+ ``` text
48
+ gem install netlinx-compile
49
+ gem install netlinx-workspace (optional: for NetLinx Studio workspace support)
50
+ ```
51
+
52
+ *NOTE: The NetLinx compiler executable provided by AMX, nlrc.exe, must be
53
+ installed on your computer for this utility to work. It is included in the
54
+ NetLinx Studio installation by default.*
55
+
56
+ **If you receive the following error when running gem install:**
57
+ `Unable to download data from https://rubygems.org/ - SSL_connect returned=1`
58
+
59
+ Follow this guide:
60
+ [Workaround RubyGems' SSL errors on Ruby for Windows (RubyInstaller)](https://gist.github.com/luislavena/f064211759ee0f806c88)
61
+
62
+
63
+ ## Issues, Bugs, Feature Requests
64
+
65
+ Any bugs and feature requests should be reported on the GitHub issue tracker:
66
+
67
+ https://github.com/amclain/netlinx-compile/issues
68
+
69
+
70
+ **Pull requests are preferred via GitHub.**
71
+
72
+ ## Use
73
+
74
+ **Sublime Text Editor**
75
+
76
+ NetLinx Compile can be integrated into [Sublime Text](http://www.sublimetext.com/3)
77
+ with the [Sublime Text AMX NetLinx Plugin](https://github.com/amclain/sublime-netlinx). This allows NetLinx source code and workspaces to be compiled with the editor's built-in build commands.
78
+
79
+
80
+ **Command Line**
81
+
82
+ NetLinx Compile provides friendlier command line access than the traditional
83
+ NetLinx compiler provided by AMX. For starters, files can now be entered by
84
+ relative path (`my_file.axs`) as well as absolute path (`c:\path\to\my_file.axs`).
85
+ A more advanced feature, workspace compiling, can invoke the NetLinx compiler on
86
+ a workspace file, as well as intelligently seek out a workspace for a given
87
+ source code file.
88
+
89
+
90
+ Compile a source code file.
91
+
92
+ netlinx-compile -s my_source_code.axs
93
+
94
+ Compile a workspace (with [NetLinx Workspace](https://github.com/amclain/netlinx-workspace)
95
+ installed).
96
+
97
+ netlinx-compile -s my_workspace.apw
98
+
99
+ Find the workspace that contains my_source_code.axs and compile it.
100
+
101
+ netlinx-compile -w -s my_source_code.axs
102
+
103
+ Print all of the option flags and their descriptions.
104
+
105
+ netlinx-compile -h
106
+
107
+
108
+ **Ruby Developer API**
109
+
110
+ A Ruby API is provided for developers looking to integrate the NetLinx Compile
111
+ library into thier own tools.
112
+ [NetLinx Compile Developer Documentation](http://rubydoc.info/gems/netlinx-compile/frames)
113
+
114
+ NetLinx Compile supports the ability to invoke the compiler on third-party
115
+ files, like when creating new types of workspaces. To add NetLinx Compile
116
+ support to your Ruby gem, create a handler for your file extension under the
117
+ namespace NetLinx::Compile::Extension, place the .rb file under
118
+ lib/netlinx/compile/extension in your gem, and add a dependency or development
119
+ dependency in your gemspec to the netlinx-compile gem. NetLinx Compile will now
120
+ automatically use your gem to compile the file extension it specifies. This is
121
+ implemented in NetLinx::Compile::Extension::AXS, as well as in the
122
+ [NetLinx Workspace](https://github.com/amclain/netlinx-workspace) gem.
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Module: NetLinx
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx";
19
19
  relpath = '';
20
20
  </script>
@@ -120,9 +120,9 @@
120
120
  </div>
121
121
 
122
122
  <div id="footer">
123
- Generated on Tue Feb 13 21:36:33 2018 by
123
+ Generated on Sat Jul 11 17:29:50 2020 by
124
124
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.9.12 (ruby-2.1.8).
125
+ 0.9.25 (ruby-2.7.1).
126
126
  </div>
127
127
 
128
128
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Module: NetLinx::Compile
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::Compile";
19
19
  relpath = '../';
20
20
  </script>
@@ -120,9 +120,9 @@
120
120
  </div>
121
121
 
122
122
  <div id="footer">
123
- Generated on Tue Feb 13 21:36:33 2018 by
123
+ Generated on Sat Jul 11 17:29:50 2020 by
124
124
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.9.12 (ruby-2.1.8).
125
+ 0.9.25 (ruby-2.7.1).
126
126
  </div>
127
127
 
128
128
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Module: NetLinx::Compile::Extension
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::Compile::Extension";
19
19
  relpath = '../../';
20
20
  </script>
@@ -118,9 +118,9 @@
118
118
  </div>
119
119
 
120
120
  <div id="footer">
121
- Generated on Tue Feb 13 21:36:33 2018 by
121
+ Generated on Sat Jul 11 17:29:50 2020 by
122
122
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
123
- 0.9.12 (ruby-2.1.8).
123
+ 0.9.25 (ruby-2.7.1).
124
124
  </div>
125
125
 
126
126
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: NetLinx::Compile::Extension::AXS
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::Compile::Extension::AXS";
19
19
  relpath = '../../../';
20
20
  </script>
@@ -208,9 +208,9 @@
208
208
  </div>
209
209
 
210
210
  <div id="footer">
211
- Generated on Tue Feb 13 21:36:33 2018 by
211
+ Generated on Sat Jul 11 17:29:51 2020 by
212
212
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
213
- 0.9.12 (ruby-2.1.8).
213
+ 0.9.25 (ruby-2.7.1).
214
214
  </div>
215
215
 
216
216
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: NetLinx::Compile::ExtensionDiscovery
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::Compile::ExtensionDiscovery";
19
19
  relpath = '../../';
20
20
  </script>
@@ -248,8 +248,7 @@
248
248
  </h3><div class="docstring">
249
249
  <div class="discussion">
250
250
 
251
- <p>An array of ExtensionHandlers installed on the system. #discover must be
252
- run before this array is populated.</p>
251
+ <p>An array of ExtensionHandlers installed on the system. #discover must be run before this array is populated.</p>
253
252
 
254
253
 
255
254
  </div>
@@ -297,9 +296,7 @@ run before this array is populated.

297
296
  </h3><div class="docstring">
298
297
  <div class="discussion">
299
298
 
300
- <p>Searches for gems with &#39;netlinx-compile&#39; as a dependency. The
301
- &#39;lib/netlinx/compile/extension/*&#39; path is checked for compiler
302
- extensions.</p>
299
+ <p>Searches for gems with &#39;netlinx-compile&#39; as a dependency. The &#39;lib/netlinx/compile/extension/*&#39; path is checked for compiler extensions.</p>
303
300
 
304
301
 
305
302
  </div>
@@ -353,10 +350,10 @@ extensions.

353
350
  <span class='id identifier rubyid_nc_gem_files'>nc_gem_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_require'>require</span> <span class='id identifier rubyid_file'>file</span><span class='rbrace'>}</span>
354
351
 
355
352
  <span class='comment'># Find gems with a dependency on &#39;netlinx-compile&#39;.
356
- </span> <span class='id identifier rubyid_gems'>gems</span> <span class='op'>=</span> <span class='const'>Gem</span><span class='op'>::</span><span class='const'>Specification</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span><span class='period'>
357
- </span><span class='id identifier rubyid_ .select'> .select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_gem'>gem</span><span class='op'>|</span> <span class='id identifier rubyid_gem'>gem</span><span class='period'>.</span><span class='id identifier rubyid_dependencies'>dependencies</span><span class='period'>
358
- </span><span class='id identifier rubyid_ .select'> .select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_dependency'>dependency</span><span class='op'>|</span> <span class='id identifier rubyid_dependency'>dependency</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>netlinx-compile</span><span class='tstring_end'>&#39;</span></span><span class='rbrace'>}</span><span class='period'>
359
- </span><span class='id identifier rubyid_ .empty?'> .empty?</span> <span class='op'>==</span> <span class='kw'>false</span>
353
+ </span> <span class='id identifier rubyid_gems'>gems</span> <span class='op'>=</span> <span class='const'>Gem</span><span class='op'>::</span><span class='const'>Specification</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span>
354
+ <span class='period'>.</span><span class='id identifier rubyid_select'>select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_gem'>gem</span><span class='op'>|</span> <span class='id identifier rubyid_gem'>gem</span><span class='period'>.</span><span class='id identifier rubyid_dependencies'>dependencies</span>
355
+ <span class='period'>.</span><span class='id identifier rubyid_select'>select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_dependency'>dependency</span><span class='op'>|</span> <span class='id identifier rubyid_dependency'>dependency</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>netlinx-compile</span><span class='tstring_end'>&#39;</span></span><span class='rbrace'>}</span>
356
+ <span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>==</span> <span class='kw'>false</span>
360
357
  <span class='rbrace'>}</span>
361
358
 
362
359
  <span class='comment'># Load any Ruby files in their lib/netlinx/compile/extension paths.
@@ -367,11 +364,11 @@ extensions.

367
364
  <span class='kw'>end</span>
368
365
 
369
366
  <span class='comment'># Register ExtensionHandler objects.
370
- </span> <span class='ivar'>@handlers</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="Extension.html" title="NetLinx::Compile::Extension (module)">Extension</a></span></span><span class='period'>.</span><span class='id identifier rubyid_constants'>constants</span><span class='period'>
371
- </span><span class='id identifier rubyid_ .map'> .map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_c'>c</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="Extension.html" title="NetLinx::Compile::Extension (module)">Extension</a></span></span><span class='period'>.</span><span class='id identifier rubyid_const_get'>const_get</span> <span class='id identifier rubyid_c'>c</span><span class='rbrace'>}</span><span class='period'>
372
- </span><span class='id identifier rubyid_ .select'> .select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span> <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Class</span><span class='rbrace'>}</span><span class='period'>
373
- </span><span class='id identifier rubyid_ .map'> .map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span> <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_get_handler'>get_handler</span> <span class='kw'>if</span> <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span> <span class='symbol'>:get_handler</span><span class='rbrace'>}</span><span class='period'>
374
- </span><span class='id identifier rubyid_ .select'> .select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span> <span class='kw'>not</span> <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span><span class='rbrace'>}</span>
367
+ </span> <span class='ivar'>@handlers</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="Extension.html" title="NetLinx::Compile::Extension (module)">Extension</a></span></span><span class='period'>.</span><span class='id identifier rubyid_constants'>constants</span>
368
+ <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_c'>c</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="Extension.html" title="NetLinx::Compile::Extension (module)">Extension</a></span></span><span class='period'>.</span><span class='id identifier rubyid_const_get'>const_get</span> <span class='id identifier rubyid_c'>c</span><span class='rbrace'>}</span>
369
+ <span class='period'>.</span><span class='id identifier rubyid_select'>select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span> <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Class</span><span class='rbrace'>}</span>
370
+ <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_c'>c</span><span class='op'>|</span> <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_get_handler'>get_handler</span> <span class='kw'>if</span> <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span> <span class='symbol'>:get_handler</span><span class='rbrace'>}</span>
371
+ <span class='period'>.</span><span class='id identifier rubyid_select'>select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_c'>c</span><span class='op'>|</span> <span class='kw'>not</span> <span class='id identifier rubyid_c'>c</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span><span class='rbrace'>}</span>
375
372
  <span class='kw'>end</span></pre>
376
373
  </td>
377
374
  </tr>
@@ -505,10 +502,10 @@ extensions.

505
502
  <pre class="code"><span class="info file"># File 'lib/netlinx/compile/extension_discovery.rb', line 47</span>
506
503
 
507
504
  <span class='kw'>def</span> <span class='id identifier rubyid_workspace_extensions'>workspace_extensions</span>
508
- <span class='ivar'>@handlers</span><span class='period'>
509
- </span><span class='id identifier rubyid_ .select'> .select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='period'>.</span><span class='id identifier rubyid_is_a_workspace?'>is_a_workspace?</span><span class='rbrace'>}</span><span class='period'>
510
- </span><span class='id identifier rubyid_ .map'> .map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='period'>.</span><span class='id identifier rubyid_extensions'>extensions</span><span class='rbrace'>}</span><span class='period'>
511
- </span><span class='id identifier rubyid_ .flatten'> .flatten</span>
505
+ <span class='ivar'>@handlers</span>
506
+ <span class='period'>.</span><span class='id identifier rubyid_select'>select</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='period'>.</span><span class='id identifier rubyid_is_a_workspace?'>is_a_workspace?</span><span class='rbrace'>}</span>
507
+ <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_h'>h</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='period'>.</span><span class='id identifier rubyid_extensions'>extensions</span><span class='rbrace'>}</span>
508
+ <span class='period'>.</span><span class='id identifier rubyid_flatten'>flatten</span>
512
509
  <span class='kw'>end</span></pre>
513
510
  </td>
514
511
  </tr>
@@ -520,9 +517,9 @@ extensions.

520
517
  </div>
521
518
 
522
519
  <div id="footer">
523
- Generated on Tue Feb 13 21:36:34 2018 by
520
+ Generated on Sat Jul 11 17:29:51 2020 by
524
521
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
525
- 0.9.12 (ruby-2.1.8).
522
+ 0.9.25 (ruby-2.7.1).
526
523
  </div>
527
524
 
528
525
  </div>
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: NetLinx::Compile::ExtensionHandler
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "NetLinx::Compile::ExtensionHandler";
19
19
  relpath = '../../';
20
20
  </script>
@@ -102,8 +102,7 @@
102
102
  <h2>Overview</h2><div class="docstring">
103
103
  <div class="discussion">
104
104
 
105
- <p>Tells netlinx-compile which class handles the compiling of a set of file
106
- extensions.</p>
105
+ <p>Tells netlinx-compile which class handles the compiling of a set of file extensions.</p>
107
106
 
108
107
 
109
108
  </div>
@@ -168,8 +167,7 @@ extensions.

168
167
 
169
168
 
170
169
  <span class="summary_desc"><div class='inline'>
171
- <p>The class to invoke to handle compiling a file extension specified in this
172
- ExtensionHandler.</p>
170
+ <p>The class to invoke to handle compiling a file extension specified in this ExtensionHandler.</p>
173
171
  </div></span>
174
172
 
175
173
  </li>
@@ -257,8 +255,7 @@ ExtensionHandler.

257
255
 
258
256
 
259
257
  <span class="summary_desc"><div class='inline'>
260
- <p>Returns true if this <span class='object_link'><a href="" title="NetLinx::Compile::ExtensionHandler (class)">ExtensionHandler</a></span> can handle the specified file
261
- extension.</p>
258
+ <p>Returns true if this <span class='object_link'><a href="" title="NetLinx::Compile::ExtensionHandler (class)">ExtensionHandler</a></span> can handle the specified file extension.</p>
262
259
  </div></span>
263
260
 
264
261
  </li>
@@ -308,9 +305,7 @@ extension.

308
305
 
309
306
 
310
307
  <span class="summary_desc"><div class='inline'>
311
- <p>Workspace files are significant because they contain information about a
312
- project, connection settings for a master, and possibly multiple systems
313
- that need to be compiled.</p>
308
+ <p>Workspace files are significant because they contain information about a project, connection settings for a master, and possibly multiple systems that need to be compiled.</p>
314
309
  </div></span>
315
310
 
316
311
  </li>
@@ -334,7 +329,7 @@ that need to be compiled.

334
329
  </h3><div class="docstring">
335
330
  <div class="discussion">
336
331
 
337
- <p>Returns a new instance of ExtensionHandler</p>
332
+ <p>Returns a new instance of ExtensionHandler.</p>
338
333
 
339
334
 
340
335
  </div>
@@ -375,8 +370,7 @@ that need to be compiled.

375
370
  </span>
376
371
 
377
372
  &mdash; <div class='inline'>
378
- <p>File extensions (without the leading dot) that this ExtensionHandler
379
- supports.</p>
373
+ <p>File extensions (without the leading dot) that this ExtensionHandler supports.</p>
380
374
  </div>
381
375
 
382
376
  </li>
@@ -389,9 +383,7 @@ supports.

389
383
  </span>
390
384
 
391
385
  &mdash; <div class='inline'>
392
- <p>Future. Lets this ExtensionHandler take priority over other ones. For
393
- example, most third-party handlers would probably usurp the .apw NetLinx
394
- Studio workspace extension.</p>
386
+ <p>Future. Lets this ExtensionHandler take priority over other ones. For example, most third-party handlers would probably usurp the .apw NetLinx Studio workspace extension.</p>
395
387
  </div>
396
388
 
397
389
  </li>
@@ -404,9 +396,7 @@ Studio workspace extension.

404
396
  </span>
405
397
 
406
398
  &mdash; <div class='inline'>
407
- <p>Set to true if this ExtensionHandler is for compiling a workspace. False by
408
- default. This parameter assists with smart compiling, as
409
- <span class='object_link'><a href="ExtensionDiscovery.html" title="NetLinx::Compile::ExtensionDiscovery (class)">NetLinx::Compile::ExtensionDiscovery</a></span> can return all workspace_handlers.</p>
399
+ <p>Set to true if this ExtensionHandler is for compiling a workspace. False by default. This parameter assists with smart compiling, as <span class='object_link'><a href="ExtensionDiscovery.html" title="NetLinx::Compile::ExtensionDiscovery (class)">NetLinx::Compile::ExtensionDiscovery</a></span> can return all workspace_handlers.</p>
410
400
  </div>
411
401
 
412
402
  </li>
@@ -419,9 +409,7 @@ default. This parameter assists with smart compiling, as
419
409
  </span>
420
410
 
421
411
  &mdash; <div class='inline'>
422
- <p>A reference to the class that should be instantiated if this handler is
423
- selected. For example, <span class='object_link'><a href="../SourceFile.html" title="NetLinx::SourceFile (class)">SourceFile</a></span> is the class that handles
424
- files with the .axs extension.</p>
412
+ <p>A reference to the class that should be instantiated if this handler is selected. For example, <span class='object_link'><a href="../SourceFile.html" title="NetLinx::SourceFile (class)">SourceFile</a></span> is the class that handles files with the .axs extension.</p>
425
413
  </div>
426
414
 
427
415
  </li>
@@ -519,8 +507,7 @@ files with the .axs extension.

519
507
  </h3><div class="docstring">
520
508
  <div class="discussion">
521
509
 
522
- <p>The class to invoke to handle compiling a file extension specified in this
523
- ExtensionHandler.</p>
510
+ <p>The class to invoke to handle compiling a file extension specified in this ExtensionHandler.</p>
524
511
 
525
512
 
526
513
  </div>
@@ -563,9 +550,7 @@ ExtensionHandler.

563
550
  </h3><div class="docstring">
564
551
  <div class="discussion">
565
552
 
566
- <p>A list of file extensions that this ExtensionHandler usurps. For example,
567
- third-party workspace extensions would probably usurp the .apw workspace
568
- extension.</p>
553
+ <p>A list of file extensions that this ExtensionHandler usurps. For example, third-party workspace extensions would probably usurp the .apw workspace extension.</p>
569
554
 
570
555
 
571
556
  </div>
@@ -654,8 +639,7 @@ extension.

654
639
  </h3><div class="docstring">
655
640
  <div class="discussion">
656
641
 
657
- <p>Returns true if this <span class='object_link'><a href="" title="NetLinx::Compile::ExtensionHandler (class)">NetLinx::Compile::ExtensionHandler</a></span> can handle the specified file
658
- extension.</p>
642
+ <p>Returns true if this <span class='object_link'><a href="" title="NetLinx::Compile::ExtensionHandler (class)">NetLinx::Compile::ExtensionHandler</a></span> can handle the specified file extension.</p>
659
643
 
660
644
 
661
645
  </div>
@@ -709,11 +693,7 @@ extension.

709
693
  </h3><div class="docstring">
710
694
  <div class="discussion">
711
695
 
712
- <p>Workspace files are significant because they contain information about a
713
- project, connection settings for a master, and possibly multiple systems
714
- that need to be compiled. Therefore, when smart-compiling, workspaces need
715
- to be distinguished from source code files because discovering a workspace
716
- should be considered a better match than discovering a source code file.</p>
696
+ <p>Workspace files are significant because they contain information about a project, connection settings for a master, and possibly multiple systems that need to be compiled. Therefore, when smart-compiling, workspaces need to be distinguished from source code files because discovering a workspace should be considered a better match than discovering a source code file.</p>
717
697
 
718
698
 
719
699
  </div>
@@ -732,8 +712,7 @@ should be considered a better match than discovering a source code file.

732
712
 
733
713
  &mdash;
734
714
  <div class='inline'>
735
- <p>true if the <span class='object_link'><a href="" title="NetLinx::Compile::ExtensionHandler (class)">NetLinx::Compile::ExtensionHandler</a></span> handles a workspace file (as opposed to a
736
- source code file).</p>
715
+ <p>true if the <span class='object_link'><a href="" title="NetLinx::Compile::ExtensionHandler (class)">NetLinx::Compile::ExtensionHandler</a></span> handles a workspace file (as opposed to a source code file).</p>
737
716
  </div>
738
717
 
739
718
  </li>
@@ -766,9 +745,9 @@ source code file).

766
745
  </div>
767
746
 
768
747
  <div id="footer">
769
- Generated on Tue Feb 13 21:36:34 2018 by
748
+ Generated on Sat Jul 11 17:29:51 2020 by
770
749
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
771
- 0.9.12 (ruby-2.1.8).
750
+ 0.9.25 (ruby-2.7.1).
772
751
  </div>
773
752
 
774
753
  </div>