ruby-vpi 7.2.0 → 7.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HEADER +4 -5
- data/HISTORY +18 -2
- data/MEMO +10 -6
- data/Rakefile +11 -14
- data/bin/generate_test.rb +7 -58
- data/bin/generate_test_tpl/bench.v +15 -19
- data/bin/generate_test_tpl/design.rb +8 -8
- data/bin/generate_test_tpl/spec.rb +2 -2
- data/bin/header_to_ruby.rb +2 -27
- data/doc/xhtml/background.organization.html +1 -1
- data/doc/xhtml/index.html +2 -2
- data/header.html +3 -6
- data/header.part.html +3 -6
- data/history.html +35 -8
- data/history.part.html +32 -2
- data/lib/ruby-vpi/verilog_parser.rb +136 -0
- data/lib/ruby-vpi/vpi_util.rb +10 -0
- data/memo.html +19 -17
- data/memo.part.html +16 -11
- data/readme.html +3 -6
- data/ref/c/annotated.html +1 -1
- data/ref/c/common_8h.html +1 -1
- data/ref/c/files.html +1 -1
- data/ref/c/functions.html +1 -1
- data/ref/c/functions_vars.html +1 -1
- data/ref/c/globals.html +1 -1
- data/ref/c/globals_0x63.html +1 -1
- data/ref/c/globals_0x65.html +1 -1
- data/ref/c/globals_0x66.html +1 -1
- data/ref/c/globals_0x70.html +1 -1
- data/ref/c/globals_0x72.html +1 -1
- data/ref/c/globals_0x73.html +1 -1
- data/ref/c/globals_0x74.html +1 -1
- data/ref/c/globals_0x76.html +1 -1
- data/ref/c/globals_0x78.html +1 -1
- data/ref/c/globals_defs.html +1 -1
- data/ref/c/globals_defs_0x65.html +1 -1
- data/ref/c/globals_defs_0x70.html +1 -1
- data/ref/c/globals_defs_0x76.html +1 -1
- data/ref/c/globals_defs_0x78.html +1 -1
- data/ref/c/globals_enum.html +1 -1
- data/ref/c/globals_eval.html +1 -1
- data/ref/c/globals_func.html +1 -1
- data/ref/c/globals_type.html +1 -1
- data/ref/c/globals_vars.html +1 -1
- data/ref/c/hierarchy.html +1 -1
- data/ref/c/index.html +1 -1
- data/ref/c/relay_8cin.html +1 -1
- data/ref/c/relay_8hin.html +1 -1
- data/ref/c/ruby-vpi_8c.html +1 -1
- data/ref/c/structrelay____RubyOptions____def.html +1 -1
- data/ref/c/structt__cb__data.html +1 -1
- data/ref/c/structt__vpi__delay.html +1 -1
- data/ref/c/structt__vpi__error__info.html +1 -1
- data/ref/c/structt__vpi__strengthval.html +1 -1
- data/ref/c/structt__vpi__systf__data.html +1 -1
- data/ref/c/structt__vpi__time.html +1 -1
- data/ref/c/structt__vpi__value.html +1 -1
- data/ref/c/structt__vpi__vecval.html +1 -1
- data/ref/c/structt__vpi__vlog__info.html +1 -1
- data/ref/c/swig_8cin.html +1 -1
- data/ref/c/swig_8hin.html +1 -1
- data/ref/c/verilog_8h.html +1 -1
- data/ref/c/vlog_8cin.html +1 -1
- data/ref/c/vlog_8hin.html +1 -1
- data/ref/c/vpi__user_8h.html +1 -1
- data/ref/ruby/classes/ERB.html +5 -5
- data/ref/ruby/classes/ERB.src/{M000011.html → M000018.html} +0 -0
- data/ref/ruby/classes/FileUtils.html +10 -10
- data/ref/ruby/classes/FileUtils.src/{M000065.html → M000073.html} +0 -0
- data/ref/ruby/classes/FileUtils.src/{M000066.html → M000074.html} +0 -0
- data/ref/ruby/classes/OutputInfo.html +5 -5
- data/ref/ruby/classes/OutputInfo.src/{M000007.html → M000014.html} +37 -37
- data/ref/ruby/classes/RDoc.html +5 -5
- data/ref/ruby/classes/RDoc.src/{M000069.html → M000077.html} +0 -0
- data/ref/ruby/classes/RubyVPI.html +10 -10
- data/ref/ruby/classes/RubyVPI.src/{M000067.html → M000075.html} +0 -0
- data/ref/ruby/classes/RubyVPI.src/{M000068.html → M000076.html} +0 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.html +72 -35
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000065.html +18 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000066.html +18 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000059.html → M000067.html} +8 -8
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000060.html → M000068.html} +29 -29
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000061.html → M000069.html} +63 -63
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000062.html → M000070.html} +106 -106
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000063.html → M000071.html} +12 -12
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000064.html → M000072.html} +4 -4
- data/ref/ruby/classes/String.html +27 -9
- data/ref/ruby/classes/String.src/M000016.html +41 -0
- data/ref/ruby/classes/String.src/M000017.html +18 -0
- data/ref/ruby/classes/Table.html +20 -20
- data/ref/ruby/classes/Table.src/{M000003.html → M000010.html} +0 -0
- data/ref/ruby/classes/Table.src/{M000004.html → M000011.html} +0 -0
- data/ref/ruby/classes/Table.src/{M000005.html → M000012.html} +0 -0
- data/ref/ruby/classes/Table.src/{M000006.html → M000013.html} +0 -0
- data/ref/ruby/classes/Template.html +5 -5
- data/ref/ruby/classes/Template.src/{M000010.html → M000015.html} +0 -0
- data/ref/ruby/classes/VerilogParser/Module/Parameter.html +160 -0
- data/ref/ruby/classes/VerilogParser/Module/Parameter.src/M000009.html +21 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.html +207 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000005.html +21 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000006.html +18 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000007.html +18 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000008.html +18 -0
- data/ref/ruby/classes/VerilogParser/Module.html +172 -0
- data/ref/ruby/classes/VerilogParser/Module.src/M000004.html +29 -0
- data/ref/ruby/classes/{ModuleInfo.html → VerilogParser.html} +38 -50
- data/ref/ruby/classes/VerilogParser.src/M000003.html +34 -0
- data/ref/ruby/classes/XX/Document.html +45 -45
- data/ref/ruby/classes/XX/Document.src/M000056.html +9 -8
- data/ref/ruby/classes/XX/Document.src/M000057.html +7 -21
- data/ref/ruby/classes/XX/Document.src/M000058.html +7 -85
- data/ref/ruby/classes/XX/Document.src/{M000053.html → M000059.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000054.html → M000060.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000055.html → M000061.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/M000062.html +21 -0
- data/ref/ruby/classes/XX/Document.src/M000063.html +34 -0
- data/ref/ruby/classes/XX/Document.src/M000064.html +98 -0
- data/ref/ruby/classes/XX/HTML4/Strict.html +5 -5
- data/ref/ruby/classes/XX/HTML4/Strict.src/{M000016.html → M000022.html} +0 -0
- data/ref/ruby/classes/XX/HTML4/Transitional.html +5 -5
- data/ref/ruby/classes/XX/HTML4/Transitional.src/{M000015.html → M000021.html} +0 -0
- data/ref/ruby/classes/XX/HTML4.html +5 -5
- data/ref/ruby/classes/XX/HTML4.src/{M000014.html → M000020.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.html +40 -40
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000028.html +9 -14
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000029.html +7 -9
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000024.html → M000030.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000025.html → M000031.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000026.html → M000032.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000027.html → M000033.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000034.html +27 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000035.html +22 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.html +100 -100
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000036.html +43 -19
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000037.html +20 -19
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000038.html +18 -15
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000039.html +35 -10
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000040.html +7 -13
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000041.html +18 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000042.html +19 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000043.html +19 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000044.html +15 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000045.html +10 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000046.html +13 -8
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000047.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000048.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000049.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000050.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000051.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000052.html +21 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000053.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000054.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000055.html +20 -0
- data/ref/ruby/classes/XX/Markup.html +5 -5
- data/ref/ruby/classes/XX/Markup.src/{M000021.html → M000027.html} +0 -0
- data/ref/ruby/classes/XX/XHTML/Strict.html +5 -5
- data/ref/ruby/classes/XX/XHTML/Strict.src/{M000020.html → M000026.html} +0 -0
- data/ref/ruby/classes/XX/XHTML/Transitional.html +5 -5
- data/ref/ruby/classes/XX/XHTML/Transitional.src/{M000019.html → M000025.html} +0 -0
- data/ref/ruby/classes/XX/XHTML.html +5 -5
- data/ref/ruby/classes/XX/XHTML.src/{M000018.html → M000024.html} +0 -0
- data/ref/ruby/classes/XX/XML.html +5 -5
- data/ref/ruby/classes/XX/XML.src/{M000013.html → M000019.html} +0 -0
- data/ref/ruby/classes/XX/XMLish.html +5 -5
- data/ref/ruby/classes/XX/XMLish.src/{M000017.html → M000023.html} +0 -0
- data/ref/ruby/created.rid +1 -1
- data/ref/ruby/files/bin/generate_test_rb.html +2 -1
- data/ref/ruby/files/bin/generate_test_rb.src/M000001.html +15 -15
- data/ref/ruby/files/bin/header_to_ruby_rb.html +2 -1
- data/ref/ruby/files/lib/ruby-vpi/erb_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rake_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rdoc_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rspec_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/verilog_parser_rb.html +107 -0
- data/ref/ruby/files/lib/ruby-vpi/vpi_util_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/xx_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi_rb.html +1 -1
- data/ref/ruby/fr_class_index.html +4 -1
- data/ref/ruby/fr_file_index.html +1 -0
- data/ref/ruby/fr_method_index.html +75 -67
- data/samp/counter/counter_rspecTest_bench.v +4 -5
- data/samp/counter/counter_unitTest_bench.v +6 -5
- data/samp/pipelined_alu/Hw5UnitModel.rb +4 -4
- data/samp/pipelined_alu/hw5_unit.v +15 -23
- data/samp/pipelined_alu/hw5_unit_test_bench.rb +9 -0
- data/samp/pipelined_alu/hw5_unit_test_bench.v +39 -0
- data/samp/pipelined_alu/hw5_unit_test_design.rb +88 -0
- data/samp/pipelined_alu/hw5_unit_test_proto.rb +8 -0
- data/samp/pipelined_alu/hw5_unit_test_runner.rake +28 -0
- data/samp/pipelined_alu/hw5_unit_test_spec.rb +88 -0
- metadata +82 -63
- data/ref/ruby/classes/ModuleInfo.src/M000008.html +0 -44
- data/ref/ruby/classes/ModuleInfo.src/M000009.html +0 -26
- data/ref/ruby/classes/String.src/M000012.html +0 -37
- data/ref/ruby/classes/XX/Document.src/M000050.html +0 -22
- data/ref/ruby/classes/XX/Document.src/M000051.html +0 -20
- data/ref/ruby/classes/XX/Document.src/M000052.html +0 -20
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000022.html +0 -22
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000023.html +0 -20
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000030.html +0 -56
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000031.html +0 -33
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000032.html +0 -31
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000033.html +0 -48
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000034.html +0 -20
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000035.html +0 -31
- data/samp/pipelined_alu/hw5_unit_bench.rb +0 -8
- data/samp/pipelined_alu/hw5_unit_bench.v +0 -45
- data/samp/pipelined_alu/hw5_unit_design.rb +0 -18
- data/samp/pipelined_alu/hw5_unit_runner.rake +0 -10
- data/samp/pipelined_alu/hw5_unit_spec.rb +0 -123
@@ -0,0 +1,34 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>create (XX::Document)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 96</span>
|
14
|
+
96: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create</span> <span class="ruby-identifier">element</span>
|
15
|
+
97: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
+
98: <span class="ruby-identifier">push</span> <span class="ruby-identifier">element</span>
|
17
|
+
99: <span class="ruby-keyword kw">begin</span>
|
18
|
+
100: <span class="ruby-identifier">object</span> = <span class="ruby-keyword kw">nil</span>
|
19
|
+
101: <span class="ruby-identifier">additions</span> =
|
20
|
+
102: <span class="ruby-identifier">tracking_additions</span> <span class="ruby-keyword kw">do</span>
|
21
|
+
103: <span class="ruby-identifier">object</span> = <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">element</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
22
|
+
104: <span class="ruby-keyword kw">end</span>
|
23
|
+
105: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">object</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">additions</span>.<span class="ruby-identifier">zero?</span>
|
24
|
+
106: <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">object</span>
|
25
|
+
107: <span class="ruby-keyword kw">end</span>
|
26
|
+
108: <span class="ruby-keyword kw">ensure</span>
|
27
|
+
109: <span class="ruby-identifier">pop</span>
|
28
|
+
110: <span class="ruby-keyword kw">end</span>
|
29
|
+
111: <span class="ruby-keyword kw">self</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">element</span>
|
30
|
+
112: <span class="ruby-identifier">element</span>
|
31
|
+
113: <span class="ruby-comment cmt">#--}}}</span>
|
32
|
+
114: <span class="ruby-keyword kw">end</span></pre>
|
33
|
+
</body>
|
34
|
+
</html>
|
@@ -0,0 +1,98 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title><< (XX::Document)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 115</span>
|
14
|
+
115: <span class="ruby-keyword kw">def</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">object</span>
|
15
|
+
116: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
+
117: <span class="ruby-identifier">t</span>, <span class="ruby-identifier">x</span> = <span class="ruby-identifier">top</span>, <span class="ruby-identifier">object</span>
|
17
|
+
118:
|
18
|
+
119: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">x</span>
|
19
|
+
120: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">t</span>
|
20
|
+
121: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span>
|
21
|
+
122:
|
22
|
+
123: <span class="ruby-keyword kw">begin</span>
|
23
|
+
124: <span class="ruby-identifier">t</span> <span class="ruby-operator"><<</span>
|
24
|
+
125: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">x</span>
|
25
|
+
126: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span>
|
26
|
+
127: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">root</span> <span class="ruby-operator">||</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Text</span><span class="ruby-operator">::</span><span class="ruby-identifier">new</span>(<span class="ruby-identifier">x</span>.<span class="ruby-identifier">to_s</span>)
|
27
|
+
128: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Element</span>
|
28
|
+
129: <span class="ruby-identifier">x</span>
|
29
|
+
130: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">CData</span>
|
30
|
+
131: <span class="ruby-identifier">x</span>
|
31
|
+
132: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Text</span>
|
32
|
+
133: <span class="ruby-identifier">x</span>
|
33
|
+
134: <span class="ruby-keyword kw">else</span> <span class="ruby-comment cmt"># string</span>
|
34
|
+
135: <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Text</span><span class="ruby-operator">::</span><span class="ruby-identifier">new</span>(<span class="ruby-identifier">x</span>.<span class="ruby-identifier">to_s</span>)
|
35
|
+
136: <span class="ruby-keyword kw">end</span>
|
36
|
+
137: <span class="ruby-keyword kw">rescue</span>
|
37
|
+
138: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">t</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-value str">"root"</span>
|
38
|
+
139: <span class="ruby-identifier">t</span> = <span class="ruby-identifier">t</span>.<span class="ruby-identifier">root</span>
|
39
|
+
140: <span class="ruby-keyword kw">retry</span>
|
40
|
+
141: <span class="ruby-keyword kw">else</span>
|
41
|
+
142: <span class="ruby-identifier">raise</span>
|
42
|
+
143: <span class="ruby-keyword kw">end</span>
|
43
|
+
144: <span class="ruby-keyword kw">end</span>
|
44
|
+
145:
|
45
|
+
146: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Element</span>
|
46
|
+
147: <span class="ruby-identifier">t</span> <span class="ruby-operator"><<</span>
|
47
|
+
148: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">x</span>
|
48
|
+
149: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span>
|
49
|
+
150: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">root</span> <span class="ruby-operator">||</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Text</span><span class="ruby-operator">::</span><span class="ruby-identifier">new</span>(<span class="ruby-identifier">x</span>.<span class="ruby-identifier">to_s</span>)
|
50
|
+
151: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Element</span>
|
51
|
+
152: <span class="ruby-identifier">x</span>
|
52
|
+
153: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">CData</span>
|
53
|
+
154: <span class="ruby-comment cmt">#::REXML::Text::new(x.write(""))</span>
|
54
|
+
155: <span class="ruby-identifier">x</span>
|
55
|
+
156: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Text</span>
|
56
|
+
157: <span class="ruby-identifier">x</span>
|
57
|
+
158: <span class="ruby-keyword kw">else</span> <span class="ruby-comment cmt"># string</span>
|
58
|
+
159: <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Text</span><span class="ruby-operator">::</span><span class="ruby-identifier">new</span>(<span class="ruby-identifier">x</span>.<span class="ruby-identifier">to_s</span>)
|
59
|
+
160: <span class="ruby-keyword kw">end</span>
|
60
|
+
161:
|
61
|
+
162: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Text</span>
|
62
|
+
163: <span class="ruby-identifier">t</span> <span class="ruby-operator"><<</span>
|
63
|
+
164: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">x</span>
|
64
|
+
165: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span>
|
65
|
+
166: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">""</span>
|
66
|
+
167: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Element</span>
|
67
|
+
168: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">""</span>
|
68
|
+
169: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">CData</span>
|
69
|
+
170: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">""</span>
|
70
|
+
171: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Text</span>
|
71
|
+
172: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">""</span>
|
72
|
+
173: <span class="ruby-keyword kw">else</span> <span class="ruby-comment cmt"># string</span>
|
73
|
+
174: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">to_s</span>
|
74
|
+
175: <span class="ruby-keyword kw">end</span>
|
75
|
+
176:
|
76
|
+
177: <span class="ruby-keyword kw">else</span> <span class="ruby-comment cmt"># other - try anyhow</span>
|
77
|
+
178: <span class="ruby-identifier">t</span> <span class="ruby-operator"><<</span>
|
78
|
+
179: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">x</span>
|
79
|
+
180: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span>
|
80
|
+
181: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">""</span>
|
81
|
+
182: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Element</span>
|
82
|
+
183: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">""</span>
|
83
|
+
184: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">CData</span>
|
84
|
+
185: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">""</span>
|
85
|
+
186: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Text</span>
|
86
|
+
187: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">write</span> <span class="ruby-value str">""</span>
|
87
|
+
188: <span class="ruby-keyword kw">else</span> <span class="ruby-comment cmt"># string</span>
|
88
|
+
189: <span class="ruby-identifier">x</span>.<span class="ruby-identifier">to_s</span>
|
89
|
+
190: <span class="ruby-keyword kw">end</span>
|
90
|
+
191: <span class="ruby-keyword kw">end</span>
|
91
|
+
192: <span class="ruby-keyword kw">end</span>
|
92
|
+
193:
|
93
|
+
194: <span class="ruby-ivar">@size</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
|
94
|
+
195: <span class="ruby-keyword kw">self</span>
|
95
|
+
196: <span class="ruby-comment cmt">#--}}}</span>
|
96
|
+
197: <span class="ruby-keyword kw">end</span></pre>
|
97
|
+
</body>
|
98
|
+
</html>
|
@@ -80,7 +80,7 @@
|
|
80
80
|
<h3 class="section-bar">Methods</h3>
|
81
81
|
|
82
82
|
<div class="name-list">
|
83
|
-
<a href="#
|
83
|
+
<a href="#M000022">html4_</a>
|
84
84
|
</div>
|
85
85
|
</div>
|
86
86
|
|
@@ -109,12 +109,12 @@
|
|
109
109
|
<div id="methods">
|
110
110
|
<h3 class="section-bar">Public Instance methods</h3>
|
111
111
|
|
112
|
-
<div id="method-
|
113
|
-
<a name="
|
112
|
+
<div id="method-M000022" class="method-detail">
|
113
|
+
<a name="M000022"></a>
|
114
114
|
|
115
115
|
<div class="method-heading">
|
116
|
-
<a href="Strict.src/
|
117
|
-
onclick="popupCode('Strict.src/
|
116
|
+
<a href="Strict.src/M000022.html" target="Code" class="method-signature"
|
117
|
+
onclick="popupCode('Strict.src/M000022.html');return false;">
|
118
118
|
<span class="method-name">html4_</span><span class="method-args">(which = HTML4::Strict, *a, &b)</span>
|
119
119
|
</a>
|
120
120
|
</div>
|
File without changes
|
@@ -80,7 +80,7 @@
|
|
80
80
|
<h3 class="section-bar">Methods</h3>
|
81
81
|
|
82
82
|
<div class="name-list">
|
83
|
-
<a href="#
|
83
|
+
<a href="#M000021">html4_</a>
|
84
84
|
</div>
|
85
85
|
</div>
|
86
86
|
|
@@ -109,12 +109,12 @@
|
|
109
109
|
<div id="methods">
|
110
110
|
<h3 class="section-bar">Public Instance methods</h3>
|
111
111
|
|
112
|
-
<div id="method-
|
113
|
-
<a name="
|
112
|
+
<div id="method-M000021" class="method-detail">
|
113
|
+
<a name="M000021"></a>
|
114
114
|
|
115
115
|
<div class="method-heading">
|
116
|
-
<a href="Transitional.src/
|
117
|
-
onclick="popupCode('Transitional.src/
|
116
|
+
<a href="Transitional.src/M000021.html" target="Code" class="method-signature"
|
117
|
+
onclick="popupCode('Transitional.src/M000021.html');return false;">
|
118
118
|
<span class="method-name">html4_</span><span class="method-args">(which = HTML4::Transitional, *a, &b)</span>
|
119
119
|
</a>
|
120
120
|
</div>
|
File without changes
|
@@ -80,7 +80,7 @@
|
|
80
80
|
<h3 class="section-bar">Methods</h3>
|
81
81
|
|
82
82
|
<div class="name-list">
|
83
|
-
<a href="#
|
83
|
+
<a href="#M000020">html4_</a>
|
84
84
|
</div>
|
85
85
|
</div>
|
86
86
|
|
@@ -116,12 +116,12 @@ Module <a href="HTML4/Transitional.html" class="link">XX::HTML4::Transitional</a
|
|
116
116
|
<div id="methods">
|
117
117
|
<h3 class="section-bar">Public Instance methods</h3>
|
118
118
|
|
119
|
-
<div id="method-
|
120
|
-
<a name="
|
119
|
+
<div id="method-M000020" class="method-detail">
|
120
|
+
<a name="M000020"></a>
|
121
121
|
|
122
122
|
<div class="method-heading">
|
123
|
-
<a href="HTML4.src/
|
124
|
-
onclick="popupCode('HTML4.src/
|
123
|
+
<a href="HTML4.src/M000020.html" target="Code" class="method-signature"
|
124
|
+
onclick="popupCode('HTML4.src/M000020.html');return false;">
|
125
125
|
<span class="method-name">html4_</span><span class="method-args">(which = HTML4, *a, &b)</span>
|
126
126
|
</a>
|
127
127
|
</div>
|
File without changes
|
@@ -80,14 +80,14 @@
|
|
80
80
|
<h3 class="section-bar">Methods</h3>
|
81
81
|
|
82
82
|
<div class="name-list">
|
83
|
-
<a href="#
|
84
|
-
<a href="#
|
85
|
-
<a href="#
|
86
|
-
<a href="#
|
87
|
-
<a href="#
|
88
|
-
<a href="#
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
83
|
+
<a href="#M000032">xx_ancestors</a>
|
84
|
+
<a href="#M000033">xx_config</a>
|
85
|
+
<a href="#M000034">xx_config_for</a>
|
86
|
+
<a href="#M000035">xx_configure</a>
|
87
|
+
<a href="#M000030">xx_define_tag_method</a>
|
88
|
+
<a href="#M000029">xx_define_tmp_method</a>
|
89
|
+
<a href="#M000031">xx_remove_tag_method</a>
|
90
|
+
<a href="#M000028">xx_tag_method_name</a>
|
91
91
|
</div>
|
92
92
|
</div>
|
93
93
|
|
@@ -109,12 +109,12 @@
|
|
109
109
|
<div id="methods">
|
110
110
|
<h3 class="section-bar">Public Instance methods</h3>
|
111
111
|
|
112
|
-
<div id="method-
|
113
|
-
<a name="
|
112
|
+
<div id="method-M000032" class="method-detail">
|
113
|
+
<a name="M000032"></a>
|
114
114
|
|
115
115
|
<div class="method-heading">
|
116
|
-
<a href="ClassMethods.src/
|
117
|
-
onclick="popupCode('ClassMethods.src/
|
116
|
+
<a href="ClassMethods.src/M000032.html" target="Code" class="method-signature"
|
117
|
+
onclick="popupCode('ClassMethods.src/M000032.html');return false;">
|
118
118
|
<span class="method-name">xx_ancestors</span><span class="method-args">(xx_which = self)</span>
|
119
119
|
</a>
|
120
120
|
</div>
|
@@ -123,12 +123,12 @@
|
|
123
123
|
</div>
|
124
124
|
</div>
|
125
125
|
|
126
|
-
<div id="method-
|
127
|
-
<a name="
|
126
|
+
<div id="method-M000033" class="method-detail">
|
127
|
+
<a name="M000033"></a>
|
128
128
|
|
129
129
|
<div class="method-heading">
|
130
|
-
<a href="ClassMethods.src/
|
131
|
-
onclick="popupCode('ClassMethods.src/
|
130
|
+
<a href="ClassMethods.src/M000033.html" target="Code" class="method-signature"
|
131
|
+
onclick="popupCode('ClassMethods.src/M000033.html');return false;">
|
132
132
|
<span class="method-name">xx_config</span><span class="method-args">()</span>
|
133
133
|
</a>
|
134
134
|
</div>
|
@@ -137,12 +137,12 @@
|
|
137
137
|
</div>
|
138
138
|
</div>
|
139
139
|
|
140
|
-
<div id="method-
|
141
|
-
<a name="
|
140
|
+
<div id="method-M000034" class="method-detail">
|
141
|
+
<a name="M000034"></a>
|
142
142
|
|
143
143
|
<div class="method-heading">
|
144
|
-
<a href="ClassMethods.src/
|
145
|
-
onclick="popupCode('ClassMethods.src/
|
144
|
+
<a href="ClassMethods.src/M000034.html" target="Code" class="method-signature"
|
145
|
+
onclick="popupCode('ClassMethods.src/M000034.html');return false;">
|
146
146
|
<span class="method-name">xx_config_for</span><span class="method-args">(key, xx_which = nil)</span>
|
147
147
|
</a>
|
148
148
|
</div>
|
@@ -151,12 +151,12 @@
|
|
151
151
|
</div>
|
152
152
|
</div>
|
153
153
|
|
154
|
-
<div id="method-
|
155
|
-
<a name="
|
154
|
+
<div id="method-M000035" class="method-detail">
|
155
|
+
<a name="M000035"></a>
|
156
156
|
|
157
157
|
<div class="method-heading">
|
158
|
-
<a href="ClassMethods.src/
|
159
|
-
onclick="popupCode('ClassMethods.src/
|
158
|
+
<a href="ClassMethods.src/M000035.html" target="Code" class="method-signature"
|
159
|
+
onclick="popupCode('ClassMethods.src/M000035.html');return false;">
|
160
160
|
<span class="method-name">xx_configure</span><span class="method-args">(key, value, xx_which = nil)</span>
|
161
161
|
</a>
|
162
162
|
</div>
|
@@ -165,12 +165,12 @@
|
|
165
165
|
</div>
|
166
166
|
</div>
|
167
167
|
|
168
|
-
<div id="method-
|
169
|
-
<a name="
|
168
|
+
<div id="method-M000030" class="method-detail">
|
169
|
+
<a name="M000030"></a>
|
170
170
|
|
171
171
|
<div class="method-heading">
|
172
|
-
<a href="ClassMethods.src/
|
173
|
-
onclick="popupCode('ClassMethods.src/
|
172
|
+
<a href="ClassMethods.src/M000030.html" target="Code" class="method-signature"
|
173
|
+
onclick="popupCode('ClassMethods.src/M000030.html');return false;">
|
174
174
|
<span class="method-name">xx_define_tag_method</span><span class="method-args">(tag_method, tag_name = nil)</span>
|
175
175
|
</a>
|
176
176
|
</div>
|
@@ -179,12 +179,12 @@
|
|
179
179
|
</div>
|
180
180
|
</div>
|
181
181
|
|
182
|
-
<div id="method-
|
183
|
-
<a name="
|
182
|
+
<div id="method-M000029" class="method-detail">
|
183
|
+
<a name="M000029"></a>
|
184
184
|
|
185
185
|
<div class="method-heading">
|
186
|
-
<a href="ClassMethods.src/
|
187
|
-
onclick="popupCode('ClassMethods.src/
|
186
|
+
<a href="ClassMethods.src/M000029.html" target="Code" class="method-signature"
|
187
|
+
onclick="popupCode('ClassMethods.src/M000029.html');return false;">
|
188
188
|
<span class="method-name">xx_define_tmp_method</span><span class="method-args">(m)</span>
|
189
189
|
</a>
|
190
190
|
</div>
|
@@ -193,12 +193,12 @@
|
|
193
193
|
</div>
|
194
194
|
</div>
|
195
195
|
|
196
|
-
<div id="method-
|
197
|
-
<a name="
|
196
|
+
<div id="method-M000031" class="method-detail">
|
197
|
+
<a name="M000031"></a>
|
198
198
|
|
199
199
|
<div class="method-heading">
|
200
|
-
<a href="ClassMethods.src/
|
201
|
-
onclick="popupCode('ClassMethods.src/
|
200
|
+
<a href="ClassMethods.src/M000031.html" target="Code" class="method-signature"
|
201
|
+
onclick="popupCode('ClassMethods.src/M000031.html');return false;">
|
202
202
|
<span class="method-name">xx_remove_tag_method</span><span class="method-args">(tag_method)</span>
|
203
203
|
</a>
|
204
204
|
</div>
|
@@ -207,12 +207,12 @@
|
|
207
207
|
</div>
|
208
208
|
</div>
|
209
209
|
|
210
|
-
<div id="method-
|
211
|
-
<a name="
|
210
|
+
<div id="method-M000028" class="method-detail">
|
211
|
+
<a name="M000028"></a>
|
212
212
|
|
213
213
|
<div class="method-heading">
|
214
|
-
<a href="ClassMethods.src/
|
215
|
-
onclick="popupCode('ClassMethods.src/
|
214
|
+
<a href="ClassMethods.src/M000028.html" target="Code" class="method-signature"
|
215
|
+
onclick="popupCode('ClassMethods.src/M000028.html');return false;">
|
216
216
|
<span class="method-name">xx_tag_method_name</span><span class="method-args">(m)</span>
|
217
217
|
</a>
|
218
218
|
</div>
|
@@ -5,23 +5,18 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>xx_tag_method_name (XX::Markup::ClassMethods)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
528: <span class="ruby-keyword kw">end</span>
|
22
|
-
529: <span class="ruby-keyword kw">end</span>
|
23
|
-
530: <span class="ruby-keyword kw">nil</span>
|
24
|
-
531: <span class="ruby-comment cmt">#--}}}</span>
|
25
|
-
532: <span class="ruby-keyword kw">end</span></pre>
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 464</span>
|
14
|
+
464: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">xx_tag_method_name</span> <span class="ruby-identifier">m</span>
|
15
|
+
465: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
+
466: <span class="ruby-identifier">m</span> = <span class="ruby-identifier">m</span>.<span class="ruby-identifier">to_s</span>
|
17
|
+
467: <span class="ruby-identifier">tag_method</span>, <span class="ruby-identifier">tag_name</span> = <span class="ruby-identifier">m</span>, <span class="ruby-identifier">m</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">%r/_+$/</span>, <span class="ruby-value str">""</span>)
|
18
|
+
468: [ <span class="ruby-identifier">tag_method</span>, <span class="ruby-identifier">tag_name</span> ]
|
19
|
+
469: <span class="ruby-comment cmt">#--}}}</span>
|
20
|
+
470: <span class="ruby-keyword kw">end</span></pre>
|
26
21
|
</body>
|
27
22
|
</html>
|
@@ -5,18 +5,16 @@
|
|
5
5
|
|
6
6
|
<html>
|
7
7
|
<head>
|
8
|
-
<title>
|
8
|
+
<title>xx_define_tmp_method (XX::Markup::ClassMethods)</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
10
|
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
11
|
</head>
|
12
12
|
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
538: <span class="ruby-comment cmt">#--}}}</span>
|
20
|
-
539: <span class="ruby-keyword kw">end</span></pre>
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 471</span>
|
14
|
+
471: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">xx_define_tmp_method</span> <span class="ruby-identifier">m</span>
|
15
|
+
472: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
+
473: <span class="ruby-identifier">define_method</span>(<span class="ruby-identifier">m</span>){ <span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>, <span class="ruby-identifier">m</span>.<span class="ruby-identifier">to_s</span> }
|
17
|
+
474: <span class="ruby-comment cmt">#--}}}</span>
|
18
|
+
475: <span class="ruby-keyword kw">end</span></pre>
|
21
19
|
</body>
|
22
20
|
</html>
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>xx_config_for (XX::Markup::ClassMethods)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 521</span>
|
14
|
+
521: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">xx_config_for</span> <span class="ruby-identifier">key</span>, <span class="ruby-identifier">xx_which</span> = <span class="ruby-keyword kw">nil</span>
|
15
|
+
522: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
+
523: <span class="ruby-identifier">key</span> = <span class="ruby-identifier">key</span>.<span class="ruby-identifier">to_s</span>
|
17
|
+
524: <span class="ruby-identifier">xx_which</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword kw">self</span>
|
18
|
+
525: <span class="ruby-identifier">xx_ancestors</span>(<span class="ruby-identifier">xx_which</span>).<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span>
|
19
|
+
526: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">xx_config</span>[<span class="ruby-identifier">a</span>].<span class="ruby-identifier">has_key?</span> <span class="ruby-identifier">key</span>
|
20
|
+
527: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">xx_config</span>[<span class="ruby-identifier">a</span>][<span class="ruby-identifier">key</span>]
|
21
|
+
528: <span class="ruby-keyword kw">end</span>
|
22
|
+
529: <span class="ruby-keyword kw">end</span>
|
23
|
+
530: <span class="ruby-keyword kw">nil</span>
|
24
|
+
531: <span class="ruby-comment cmt">#--}}}</span>
|
25
|
+
532: <span class="ruby-keyword kw">end</span></pre>
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>xx_configure (XX::Markup::ClassMethods)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
+
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 533</span>
|
14
|
+
533: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">xx_configure</span> <span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">xx_which</span> = <span class="ruby-keyword kw">nil</span>
|
15
|
+
534: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
+
535: <span class="ruby-identifier">key</span> = <span class="ruby-identifier">key</span>.<span class="ruby-identifier">to_s</span>
|
17
|
+
536: <span class="ruby-identifier">xx_which</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword kw">self</span>
|
18
|
+
537: <span class="ruby-identifier">xx_config</span>[<span class="ruby-identifier">xx_which</span>][<span class="ruby-identifier">key</span>] = <span class="ruby-identifier">value</span>
|
19
|
+
538: <span class="ruby-comment cmt">#--}}}</span>
|
20
|
+
539: <span class="ruby-keyword kw">end</span></pre>
|
21
|
+
</body>
|
22
|
+
</html>
|