netlinx-erb 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/Array.html +48 -47
- data/doc/Hash.html +47 -46
- data/doc/NetLinx.html +39 -39
- data/doc/NetLinx/ERB.html +63 -63
- data/doc/NetLinx/ERB/HashHelpers.html +50 -50
- data/doc/NetLinx/ERB/Helpers.html +68 -68
- data/doc/NetLinx/Rake.html +39 -39
- data/doc/NetLinx/Rake/ERB.html +39 -39
- data/doc/NetLinx/Rake/ERB/GenerateERB.html +51 -50
- data/doc/NetLinx/Rake/ERB/GenerateRPC.html +51 -50
- data/doc/NetLinx/Rake/ERB/Lines.html +51 -50
- data/doc/NetLinx/Rake/ERB/Push.html +50 -49
- data/doc/RPC.html +48 -47
- data/doc/String.html +49 -48
- data/doc/_index.html +28 -31
- data/doc/class_list.html +24 -31
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +251 -91
- data/doc/file.README.html +28 -31
- data/doc/file.license.html +28 -31
- data/doc/file_list.html +29 -31
- data/doc/frames.html +7 -16
- data/doc/index.html +28 -31
- data/doc/js/app.js +106 -77
- data/doc/js/full_list.js +170 -135
- data/doc/method_list.html +188 -128
- data/doc/top-level-namespace.html +34 -36
- data/lib/netlinx/erb/erb.rb +0 -2
- data/template.zip +0 -0
- metadata +19 -18
- data/doc/HashHelpers.html +0 -413
- data/doc/Helpers.html +0 -2154
- data/doc/NetLinx/Rake/ERB/Compile.html +0 -354
- data/doc/NetLinx/Rake/Lines.html +0 -381
data/doc/NetLinx/ERB.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: NetLinx::ERB
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.12
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "NetLinx::ERB";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!NetLinx/ERB.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,63 +27,63 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
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">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (E)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">ERB</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
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>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: NetLinx::ERB
|
62
|
+
<div id="content"><h1>Module: NetLinx::ERB
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
71
69
|
|
72
|
-
<dl class="box">
|
73
70
|
|
74
71
|
|
75
|
-
|
76
72
|
|
77
|
-
|
78
73
|
|
79
74
|
|
75
|
+
|
80
76
|
|
81
|
-
|
82
|
-
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/netlinx/erb.rb<span class="defines">,<br />
|
83
82
|
lib/netlinx/erb/erb.rb,<br /> lib/netlinx/erb/helpers.rb,<br /> lib/netlinx/erb/hash_helpers.rb</span>
|
84
83
|
</dd>
|
84
|
+
</dl>
|
85
85
|
|
86
|
-
</
|
87
|
-
<div class="clear"></div>
|
86
|
+
</div>
|
88
87
|
|
89
88
|
<h2>Overview</h2><div class="docstring">
|
90
89
|
<div class="discussion">
|
@@ -117,7 +116,7 @@
|
|
117
116
|
|
118
117
|
<h2>
|
119
118
|
Class Method Summary
|
120
|
-
<small
|
119
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
121
120
|
</h2>
|
122
121
|
|
123
122
|
<ul class="summary">
|
@@ -125,7 +124,7 @@
|
|
125
124
|
<li class="public ">
|
126
125
|
<span class="summary_signature">
|
127
126
|
|
128
|
-
<a href="#binding-class_method" title="binding (class method)"
|
127
|
+
<a href="#binding-class_method" title="binding (class method)">.<strong>binding</strong> {|module| ... } ⇒ Object </a>
|
129
128
|
|
130
129
|
|
131
130
|
|
@@ -149,7 +148,7 @@
|
|
149
148
|
<li class="public ">
|
150
149
|
<span class="summary_signature">
|
151
150
|
|
152
|
-
<a href="#execute-class_method" title="execute (class method)"
|
151
|
+
<a href="#execute-class_method" title="execute (class method)">.<strong>execute</strong>(template_file, binding: NetLinx::ERB.binding) ⇒ String </a>
|
153
152
|
|
154
153
|
|
155
154
|
|
@@ -173,7 +172,7 @@
|
|
173
172
|
<li class="public ">
|
174
173
|
<span class="summary_signature">
|
175
174
|
|
176
|
-
<a href="#generate_axi_files_from_template-class_method" title="generate_axi_files_from_template (class method)"
|
175
|
+
<a href="#generate_axi_files_from_template-class_method" title="generate_axi_files_from_template (class method)">.<strong>generate_axi_files_from_template</strong>(devices, **kwargs) {|module| ... } ⇒ Object </a>
|
177
176
|
|
178
177
|
|
179
178
|
|
@@ -206,7 +205,7 @@
|
|
206
205
|
<div class="method_details first">
|
207
206
|
<h3 class="signature first" id="binding-class_method">
|
208
207
|
|
209
|
-
|
208
|
+
.<strong>binding</strong> {|module| ... } ⇒ <tt>Object</tt>
|
210
209
|
|
211
210
|
|
212
211
|
|
@@ -226,7 +225,7 @@
|
|
226
225
|
<p class="tag_title">Examples:</p>
|
227
226
|
|
228
227
|
|
229
|
-
<pre class="example code"><code><span class='const'>ERB</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_buffer'>buffer</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>%<>-</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_result'>result</span><span class='lparen'>(</span><span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>ERB</span><span class='period'>.</span><span class='id identifier rubyid_binding'>binding</span><span class='rparen'>)</span></code></pre>
|
228
|
+
<pre class="example code"><code><span class='const'><span class='object_link'><a href="" title="NetLinx::ERB (module)">ERB</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_buffer'>buffer</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>%<>-</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_result'>result</span><span class='lparen'>(</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="" title="NetLinx::ERB (module)">ERB</a></span></span><span class='period'>.</span><span class='id identifier rubyid_binding'>binding</span><span class='rparen'>)</span></code></pre>
|
230
229
|
|
231
230
|
</div>
|
232
231
|
|
@@ -275,19 +274,19 @@
|
|
275
274
|
<pre class="lines">
|
276
275
|
|
277
276
|
|
277
|
+
9
|
278
|
+
10
|
278
279
|
11
|
279
280
|
12
|
280
281
|
13
|
281
|
-
14
|
282
|
-
15
|
283
|
-
16</pre>
|
282
|
+
14</pre>
|
284
283
|
</td>
|
285
284
|
<td>
|
286
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/erb/erb.rb', line
|
285
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/erb/erb.rb', line 9</span>
|
287
286
|
|
288
287
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_binding'>binding</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
289
288
|
<span class='const'>Module</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</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_mod'>mod</span><span class='op'>|</span>
|
290
|
-
<span class='id identifier rubyid_mod'>mod</span><span class='period'>.</span><span class='id identifier rubyid_instance_eval'>instance_eval</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_extend'>extend</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>ERB</span><span class='op'>::</span><span class='const'>Helpers</span> <span class='rbrace'>}</span>
|
289
|
+
<span class='id identifier rubyid_mod'>mod</span><span class='period'>.</span><span class='id identifier rubyid_instance_eval'>instance_eval</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_extend'>extend</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="" title="NetLinx::ERB (module)">ERB</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ERB/Helpers.html" title="NetLinx::ERB::Helpers (module)">Helpers</a></span></span> <span class='rbrace'>}</span>
|
291
290
|
<span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span> <span class='id identifier rubyid_mod'>mod</span> <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
292
291
|
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_instance_eval'>instance_eval</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_binding'>binding</span> <span class='rbrace'>}</span>
|
293
292
|
<span class='kw'>end</span></pre>
|
@@ -299,7 +298,7 @@
|
|
299
298
|
<div class="method_details ">
|
300
299
|
<h3 class="signature " id="execute-class_method">
|
301
300
|
|
302
|
-
|
301
|
+
.<strong>execute</strong>(template_file, binding: NetLinx::ERB.binding) ⇒ <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>
|
303
302
|
|
304
303
|
|
305
304
|
|
@@ -389,16 +388,16 @@
|
|
389
388
|
<pre class="lines">
|
390
389
|
|
391
390
|
|
391
|
+
21
|
392
|
+
22
|
392
393
|
23
|
393
394
|
24
|
394
|
-
25
|
395
|
-
26
|
396
|
-
27</pre>
|
395
|
+
25</pre>
|
397
396
|
</td>
|
398
397
|
<td>
|
399
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/erb/erb.rb', line
|
398
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/erb/erb.rb', line 21</span>
|
400
399
|
|
401
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span> <span class='id identifier rubyid_template_file'>template_file</span><span class='comma'>,</span> <span class='label'>binding:</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>ERB</span><span class='period'>.</span><span class='id identifier rubyid_binding'>binding</span>
|
400
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span> <span class='id identifier rubyid_template_file'>template_file</span><span class='comma'>,</span> <span class='label'>binding:</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="" title="NetLinx::ERB (module)">ERB</a></span></span><span class='period'>.</span><span class='id identifier rubyid_binding'><span class='object_link'><a href="#binding-class_method" title="NetLinx::ERB.binding (method)">binding</a></span></span>
|
402
401
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>LoadError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Template not found: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_template_file'>template_file</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <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_template_file'>template_file</span>
|
403
402
|
<span class='gvar'>$AUTOGEN_HEADER</span> <span class='op'>+</span> <span class='op'>::</span><span class='const'>ERB</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='lparen'>(</span><span class='id identifier rubyid_template_file'>template_file</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>%<>-</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='period'>
|
404
403
|
</span><span class='id identifier rubyid_ .result'> .result</span><span class='lparen'>(</span><span class='id identifier rubyid_binding'>binding</span><span class='rparen'>)</span>
|
@@ -411,7 +410,7 @@
|
|
411
410
|
<div class="method_details ">
|
412
411
|
<h3 class="signature " id="generate_axi_files_from_template-class_method">
|
413
412
|
|
414
|
-
|
413
|
+
.<strong>generate_axi_files_from_template</strong>(devices, **kwargs) {|module| ... } ⇒ <tt>Object</tt>
|
415
414
|
|
416
415
|
|
417
416
|
|
@@ -531,6 +530,8 @@ used to add customized data during evaluation.</p>
|
|
531
530
|
<pre class="lines">
|
532
531
|
|
533
532
|
|
533
|
+
41
|
534
|
+
42
|
534
535
|
43
|
535
536
|
44
|
536
537
|
45
|
@@ -567,12 +568,10 @@ used to add customized data during evaluation.</p>
|
|
567
568
|
76
|
568
569
|
77
|
569
570
|
78
|
570
|
-
79
|
571
|
-
80
|
572
|
-
81</pre>
|
571
|
+
79</pre>
|
573
572
|
</td>
|
574
573
|
<td>
|
575
|
-
<pre class="code"><span class="info file"># File 'lib/netlinx/erb/erb.rb', line
|
574
|
+
<pre class="code"><span class="info file"># File 'lib/netlinx/erb/erb.rb', line 41</span>
|
576
575
|
|
577
576
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_generate_axi_files_from_template'>generate_axi_files_from_template</span> <span class='id identifier rubyid_devices'>devices</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
578
577
|
<span class='id identifier rubyid_template_dir'>template_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='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:template_dir</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>./include/ui/template</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
@@ -581,7 +580,7 @@ used to add customized data during evaluation.</p>
|
|
581
580
|
<span class='id identifier rubyid_devices'>devices</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_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='op'>|</span>
|
582
581
|
<span class='id identifier rubyid_b'>b</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_binding'>binding</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_m'>m</span><span class='op'>|</span>
|
583
582
|
<span class='id identifier rubyid_m'>m</span><span class='period'>.</span><span class='id identifier rubyid_instance_eval'>instance_eval</span> <span class='lbrace'>{</span>
|
584
|
-
<span class='id identifier rubyid_extend'>extend</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>ERB</span><span class='op'>::</span><span class='const'>Helpers</span>
|
583
|
+
<span class='id identifier rubyid_extend'>extend</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="" title="NetLinx::ERB (module)">ERB</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ERB/Helpers.html" title="NetLinx::ERB::Helpers (module)">Helpers</a></span></span>
|
585
584
|
|
586
585
|
<span class='comment'># Generate template instance variables.
|
587
586
|
</span> <span class='ivar'>@tmpl_suffix</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
@@ -595,8 +594,8 @@ used to add customized data during evaluation.</p>
|
|
595
594
|
<span class='ivar'>@dvTP</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>dvTP_</span><span class='embexpr_beg'>#{</span><span class='ivar'>@tmpl_suffix</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
596
595
|
|
597
596
|
<span class='comment'># Inject suffix into Hash for helper methods.
|
598
|
-
</span> <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_set'>instance_variable_set</span> <span class='symbol'>:@tmpl_suffix</span><span class='comma'>,</span> <span class='ivar'>@tmpl_suffix</span>
|
599
|
-
<span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_set'>instance_variable_set</span> <span class='symbol'>:@tmpl_var_suffix</span><span class='comma'>,</span> <span class='ivar'>@tmpl_var_suffix</span>
|
597
|
+
</span> <span class='const'><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_set'>instance_variable_set</span> <span class='symbol'>:@tmpl_suffix</span><span class='comma'>,</span> <span class='ivar'>@tmpl_suffix</span>
|
598
|
+
<span class='const'><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_set'>instance_variable_set</span> <span class='symbol'>:@tmpl_var_suffix</span><span class='comma'>,</span> <span class='ivar'>@tmpl_var_suffix</span>
|
600
599
|
<span class='rbrace'>}</span>
|
601
600
|
|
602
601
|
<span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span> <span class='id identifier rubyid_m'>m</span> <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
|
@@ -622,11 +621,12 @@ used to add customized data during evaluation.</p>
|
|
622
621
|
|
623
622
|
</div>
|
624
623
|
|
625
|
-
|
626
|
-
Generated on
|
624
|
+
<div id="footer">
|
625
|
+
Generated on Tue Feb 13 21:56:15 2018 by
|
627
626
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
628
|
-
0.
|
627
|
+
0.9.12 (ruby-2.1.8).
|
629
628
|
</div>
|
630
629
|
|
630
|
+
</div>
|
631
631
|
</body>
|
632
632
|
</html>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: NetLinx::ERB::HashHelpers
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.12
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "NetLinx::ERB::HashHelpers";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!NetLinx/ERB/HashHelpers.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,61 +27,61 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
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">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (H)</a> »
|
35
40
|
<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="../ERB.html" title="NetLinx::ERB (module)">ERB</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">HashHelpers</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
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>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: NetLinx::ERB::HashHelpers
|
62
|
+
<div id="content"><h1>Module: NetLinx::ERB::HashHelpers
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
71
69
|
|
72
|
-
<dl class="box">
|
73
70
|
|
74
71
|
|
75
|
-
|
76
72
|
|
77
|
-
|
78
73
|
|
79
74
|
|
75
|
+
|
80
76
|
|
81
|
-
|
82
|
-
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/netlinx/erb/hash_helpers.rb</dd>
|
82
|
+
</dl>
|
83
83
|
|
84
|
-
</
|
85
|
-
<div class="clear"></div>
|
84
|
+
</div>
|
86
85
|
|
87
86
|
<h2>Overview</h2><div class="docstring">
|
88
87
|
<div class="discussion">
|
@@ -105,7 +104,7 @@
|
|
105
104
|
|
106
105
|
<h2>
|
107
106
|
Instance Method Summary
|
108
|
-
<small
|
107
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
109
108
|
</h2>
|
110
109
|
|
111
110
|
<ul class="summary">
|
@@ -113,7 +112,7 @@
|
|
113
112
|
<li class="public ">
|
114
113
|
<span class="summary_signature">
|
115
114
|
|
116
|
-
<a href="#append_suffix-instance_method" title="#append_suffix (instance method)"
|
115
|
+
<a href="#append_suffix-instance_method" title="#append_suffix (instance method)">#<strong>append_suffix</strong> ⇒ Object </a>
|
117
116
|
|
118
117
|
|
119
118
|
|
@@ -137,7 +136,7 @@
|
|
137
136
|
<li class="public ">
|
138
137
|
<span class="summary_signature">
|
139
138
|
|
140
|
-
<a href="#append_suffix
|
139
|
+
<a href="#append_suffix!-instance_method" title="#append_suffix! (instance method)">#<strong>append_suffix!</strong> ⇒ Object </a>
|
141
140
|
|
142
141
|
|
143
142
|
|
@@ -162,7 +161,7 @@ with the result.</p>
|
|
162
161
|
<li class="public ">
|
163
162
|
<span class="summary_signature">
|
164
163
|
|
165
|
-
<a href="#tmpl_suffix-instance_method" title="#tmpl_suffix (instance method)"
|
164
|
+
<a href="#tmpl_suffix-instance_method" title="#tmpl_suffix (instance method)">#<strong>tmpl_suffix</strong> ⇒ Object </a>
|
166
165
|
|
167
166
|
|
168
167
|
|
@@ -186,7 +185,7 @@ with the result.</p>
|
|
186
185
|
<li class="public ">
|
187
186
|
<span class="summary_signature">
|
188
187
|
|
189
|
-
<a href="#tmpl_var_suffix-instance_method" title="#tmpl_var_suffix (instance method)"
|
188
|
+
<a href="#tmpl_var_suffix-instance_method" title="#tmpl_var_suffix (instance method)">#<strong>tmpl_var_suffix</strong> ⇒ Object </a>
|
190
189
|
|
191
190
|
|
192
191
|
|
@@ -219,7 +218,7 @@ with the result.</p>
|
|
219
218
|
<div class="method_details first">
|
220
219
|
<h3 class="signature first" id="append_suffix-instance_method">
|
221
220
|
|
222
|
-
|
221
|
+
#<strong>append_suffix</strong> ⇒ <tt>Object</tt>
|
223
222
|
|
224
223
|
|
225
224
|
|
@@ -264,7 +263,7 @@ with the result.</p>
|
|
264
263
|
<span class='lbracket'>[</span><span class='id identifier rubyid_key_name'>key_name</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span><span class='rbracket'>]</span>
|
265
264
|
<span class='kw'>end</span>
|
266
265
|
|
267
|
-
<span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_hash'>hash</span><span class='rbracket'>]</span>
|
266
|
+
<span class='const'><span class='object_link'><a href="../../Hash.html" title="Hash (class)">Hash</a></span></span><span class='lbracket'>[</span><span class='id identifier rubyid_hash'>hash</span><span class='rbracket'>]</span>
|
268
267
|
<span class='kw'>end</span></pre>
|
269
268
|
</td>
|
270
269
|
</tr>
|
@@ -274,7 +273,7 @@ with the result.</p>
|
|
274
273
|
<div class="method_details ">
|
275
274
|
<h3 class="signature " id="append_suffix!-instance_method">
|
276
275
|
|
277
|
-
|
276
|
+
#<strong>append_suffix!</strong> ⇒ <tt>Object</tt>
|
278
277
|
|
279
278
|
|
280
279
|
|
@@ -320,7 +319,7 @@ with the result.</p>
|
|
320
319
|
<div class="method_details ">
|
321
320
|
<h3 class="signature " id="tmpl_suffix-instance_method">
|
322
321
|
|
323
|
-
|
322
|
+
#<strong>tmpl_suffix</strong> ⇒ <tt>Object</tt>
|
324
323
|
|
325
324
|
|
326
325
|
|
@@ -351,7 +350,7 @@ with the result.</p>
|
|
351
350
|
<pre class="code"><span class="info file"># File 'lib/netlinx/erb/hash_helpers.rb', line 9</span>
|
352
351
|
|
353
352
|
<span class='kw'>def</span> <span class='id identifier rubyid_tmpl_suffix'>tmpl_suffix</span>
|
354
|
-
<span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_get'>instance_variable_get</span> <span class='symbol'>:@tmpl_suffix</span>
|
353
|
+
<span class='const'><span class='object_link'><a href="../../Hash.html" title="Hash (class)">Hash</a></span></span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_get'>instance_variable_get</span> <span class='symbol'>:@tmpl_suffix</span>
|
355
354
|
<span class='kw'>end</span></pre>
|
356
355
|
</td>
|
357
356
|
</tr>
|
@@ -361,7 +360,7 @@ with the result.</p>
|
|
361
360
|
<div class="method_details ">
|
362
361
|
<h3 class="signature " id="tmpl_var_suffix-instance_method">
|
363
362
|
|
364
|
-
|
363
|
+
#<strong>tmpl_var_suffix</strong> ⇒ <tt>Object</tt>
|
365
364
|
|
366
365
|
|
367
366
|
|
@@ -392,7 +391,7 @@ with the result.</p>
|
|
392
391
|
<pre class="code"><span class="info file"># File 'lib/netlinx/erb/hash_helpers.rb', line 14</span>
|
393
392
|
|
394
393
|
<span class='kw'>def</span> <span class='id identifier rubyid_tmpl_var_suffix'>tmpl_var_suffix</span>
|
395
|
-
<span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_get'>instance_variable_get</span> <span class='symbol'>:@tmpl_var_suffix</span>
|
394
|
+
<span class='const'><span class='object_link'><a href="../../Hash.html" title="Hash (class)">Hash</a></span></span><span class='period'>.</span><span class='id identifier rubyid_instance_variable_get'>instance_variable_get</span> <span class='symbol'>:@tmpl_var_suffix</span>
|
396
395
|
<span class='kw'>end</span></pre>
|
397
396
|
</td>
|
398
397
|
</tr>
|
@@ -403,11 +402,12 @@ with the result.</p>
|
|
403
402
|
|
404
403
|
</div>
|
405
404
|
|
406
|
-
|
407
|
-
Generated on
|
405
|
+
<div id="footer">
|
406
|
+
Generated on Tue Feb 13 21:56:15 2018 by
|
408
407
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
409
|
-
0.
|
408
|
+
0.9.12 (ruby-2.1.8).
|
410
409
|
</div>
|
411
410
|
|
411
|
+
</div>
|
412
412
|
</body>
|
413
413
|
</html>
|